Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Static Public Member Functions
gmx::test::NNPotTopologyPreprocessorTest Class Reference

Inherits Test.

Description

Test fixture for NNPotTopologyPreprocessor tests.

Provides a temporary file manager and a gmx_mtop_t struct for testing.

Static Public Member Functions

static void makeMtopFromFile (const std::string &simulationName, const std::string &mdpContent, gmx_mtop_t *mtop)
 Generates tpr file from *.top and *.gro existing in the simulation database directory and custom mdpContent and loads gmx_mtop_t from it. More...
 
static void checkTopologyInfo (const QMMMTopologyInfo &info, const gmx_mtop_t &mtop, TestReferenceChecker *checker)
 Helper function to check the processed topology. More...
 

Member Function Documentation

static void gmx::test::NNPotTopologyPreprocessorTest::checkTopologyInfo ( const QMMMTopologyInfo info,
const gmx_mtop_t &  mtop,
TestReferenceChecker checker 
)
inlinestatic

Helper function to check the processed topology.

Parameters
[in]infoQMMMTopologyInfo struct to check
[in]mtopgmx_mtop_t struct to check modified molblocks
[in]checkerTestReferenceChecker to use for checking
static void gmx::test::NNPotTopologyPreprocessorTest::makeMtopFromFile ( const std::string &  simulationName,
const std::string &  mdpContent,
gmx_mtop_t *  mtop 
)
inlinestatic

Generates tpr file from *.top and *.gro existing in the simulation database directory and custom mdpContent and loads gmx_mtop_t from it.

Parameters
[in]simulationNameName of the simulation database directory
[in]mdpContentContent of the mdp file
[out]mtopgmx_mtop_t struct to load the topology into

The documentation for this class was generated from the following file: