Gromacs  2025-dev-20240812-545ca5b
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
gmx::anonymous_namespace{shake.cpp}::ShakeTest Class Reference

Inherits Test.

Description

Test fixture for testing SHAKE.

Public Member Functions

void SetUp () override
 Set up data for test cases to use when constructing their input.
 

Static Public Member Functions

static void runTest (size_t gmx_unused numAtoms, size_t numConstraints, const std::vector< int > &iatom, const std::vector< real > &constrainedDistances, const std::vector< real > &inverseMasses, const std::vector< RVec > &positions)
 Run the test.
 

Public Attributes

std::vector< realinverseMassesDatabase_
 Database of inverse masses of atoms in the topology.
 
std::vector< RVecpositionsDatabase_
 Database of atom positions (three reals per atom)
 

Static Public Attributes

static const real tolerance_ = 1e-5
 Tolerance for SHAKE conversion (ie. shake-tol .mdp setting)
 
static const int maxNumIterations_ = 30
 Maximum number of iterations permitted in these tests.
 
static const real omega_ = 1.0
 SHAKE over-relaxation (SOR) factor.
 

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