Inherits TestWithParam< NNPotEmbedding >.
Test fixture for NNPotTopologyPreprocessor tests.
Provides a temporary file manager and a gmx_mtop_t struct for testing.
|
|
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 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.
|
| |
| static std::unique_ptr<gmx_mtop_t> gmx::test::NNPotTopologyPreprocessorTest::makeMtopFromFile |
( |
const std::string & |
simulationName, |
|
|
const std::string & |
mdpContent |
|
) |
| |
|
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] | simulationName | Name of the simulation database directory |
| [in] | mdpContent | Content of the mdp file |
The documentation for this class was generated from the following file: