C++ APIΒΆ
Public C++ application programming interfaces are available for GROMACS installations depending on the detected environment and user options when the GROMACS build is configured with CMake.
- Public C++ API
CMake target
Gromacs::gmxapi
, enabled byGMXAPI
(default, whenBUILD_SHARED_LIBS
on non-Windows platforms), providesgmxapi/
headers and::gmxapi
C++ namespace.CMake target
Gromacs::libgromacs
, enabled byGMX_INSTALL_LEGACY_API
(defaultOFF
), providesgromacs/
headers and::gmx
C++ namespace.
(Non-)Bonded LIBrary (NB-LIB) API: Enabled by
GMX_INSTALL_NBLIB_API
. (default, whenBUILD_SHARED_LIBS
on non-Windows platforms)
Legacy API: Enabled by
GMX_INSTALL_LEGACY_API
. (defaultOFF
)