|
Gromacs
2027.0-dev-20261112-5a4f586
|
Classes | |
| class | GromppFrozenParticlesTest |
| Test fixture for grompp with frozen particles, parametrized by the integrator. More... | |
| class | GromppDeformFlowSpecialParticlesTest |
| Test fixture for the flow profile of special particles, parametrized by whether grompp generates the velocities. More... | |
| class | GromppAllBondsConstraintsNoteTest |
| Test fixture for the note discouraging constraints = all-bonds. More... | |
| class | GromppTest |
| Test fixture for grompp. More... | |
Typedefs | |
| using | MdpParams = bool |
| Test parameters. | |
| using | AllBondsNoteParams = std::tuple< std::string, bool > |
| Test parameters: simulation database name, and whether the all-bonds note is expected. | |
Functions | |
| std::string | integratorTestName (const testing::TestParamInfo< IntegrationAlgorithm > &info) |
| Returns a test name for the integrator that is a valid GoogleTest identifier. | |
| void | checkVelocitiesOfFrozenParticles (const std::filesystem::path &tprFileName, const int numFrozenParticles, ArrayRef< const RVec > expectedVelocities) |
Checks the velocities in tprFileName. More... | |
| void | writeSpcAndMethanolFrame (const std::filesystem::path &trrFileName) |
Writes a trajectory frame of spc-and-methanol to trrFileName. More... | |
Variables | |
| const char | c_frozenMethanolMdpSettings [] |
| Settings for MD of spc-and-methanol with a frozen methanol molecule. More... | |
| const std::vector< RVec > | c_spcAndMethanolFrameVelocities |
| The velocities of the trajectory frame of writeSpcAndMethanolFrame(), non-zero for all particles. More... | |
| void gmx::test::anonymous_namespace{grompp.cpp}::checkVelocitiesOfFrozenParticles | ( | const std::filesystem::path & | tprFileName, |
| const int | numFrozenParticles, | ||
| ArrayRef< const RVec > | expectedVelocities | ||
| ) |
Checks the velocities in tprFileName.
Checks that the velocities are zero for the fully frozen first numFrozenParticles atoms and non-zero for all others. When expectedVelocities is not empty, the velocities of the atoms that are not frozen must be equal to it.
| void gmx::test::anonymous_namespace{grompp.cpp}::writeSpcAndMethanolFrame | ( | const std::filesystem::path & | trrFileName | ) |
Writes a trajectory frame of spc-and-methanol to trrFileName.
The frame has the coordinates and box of the configuration file, but the velocities c_spcAndMethanolFrameVelocities for all particles, including the ones that will be frozen.
| const char gmx::test::anonymous_namespace{grompp.cpp}::c_frozenMethanolMdpSettings[] |
Settings for MD of spc-and-methanol with a frozen methanol molecule.
| const std::vector<RVec> gmx::test::anonymous_namespace{grompp.cpp}::c_spcAndMethanolFrameVelocities |
The velocities of the trajectory frame of writeSpcAndMethanolFrame(), non-zero for all particles.
1.8.5