Gromacs
2025-dev-20241002-88a4191
|
Inherits TestWithParam< LeapFrogTestParameters >.
Test fixture for LeapFrog integrator.
Public Member Functions | |
void | testAgainstReferenceData (const LeapFrogTestData &testData) |
Test the numerical integrator against pre-computed reference values. More... | |
Static Public Member Functions | |
static void | testAgainstAnalyticalSolution (FloatingPointTolerance tolerance, const LeapFrogTestData &testData, const real totalTime) |
Test the numerical integrator against analytical solution for simple constant force case. More... | |
Public Attributes | |
TestReferenceData | refData_ |
Reference data. | |
TestReferenceChecker | checker_ |
Checker for reference data. | |
|
inlinestatic |
Test the numerical integrator against analytical solution for simple constant force case.
[in] | tolerance | Tolerance |
[in] | testData | Test data object |
[in] | totalTime | Total numerical integration time |
|
inline |
Test the numerical integrator against pre-computed reference values.
[in] | testData | Test data object |