|
Gromacs
2027.0-dev-20261113-fb41eee
|
Inherits TestWithParam< NNPotEmbedding >.
Collaboration diagram for gmx::test::NNPotTopologyPreprocessorTest:Test fixture for NNPotTopologyPreprocessor tests.
Provides a temporary file manager and a gmx_mtop_t struct for testing.
Public Member Functions | |
| NNPotOptions | buildDefaultOptions (const std::vector< int > &nnpAtomIndices, WarningHandler *wi) |
| Helper function to create an NNPotOptions object. | |
| NNPotOptions | buildOptionsWithValues (const std::vector< int > &nnpAtomIndices, WarningHandler *wi, const std::map< std::string, std::string > &additionalValues) |
| void | expectLogMessage (const char *msg) |
| Helper function to expect a log message. | |
Static Public Member Functions | |
| static std::unique_ptr < gmx_mtop_t > | makeMtopFromFile (const std::string &simulationName, const std::string &mdpContent) |
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 KeyValueTreeObject | nnpotBuildMdpValues (const std::map< std::string, std::string > &additionalValues={}) |
| Generates a default mdp values for NNPotOptions. | |
| static IndexGroupsAndNames | indexGroupsAndNames (const std::vector< int > &nnpAtomIndices) |
| Creates an IndexGroupsAndNames object with the given atom indices. | |
Protected Attributes | |
| LoggerTestHelper | logHelper_ |
|
inlinestatic |
Generates tpr file from *.top and *.gro existing in the simulation database directory and custom mdpContent and loads gmx_mtop_t from it.
| [in] | simulationName | Name of the simulation database directory |
| [in] | mdpContent | Content of the mdp file |
1.8.5