Gromacs  2025-dev-20241002-88a4191
 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
gmx::test::anonymous_namespace{leapfrog.cpp}::LeapFrogTest Class Reference

Inherits TestWithParam< LeapFrogTestParameters >.

+ Collaboration diagram for gmx::test::anonymous_namespace{leapfrog.cpp}::LeapFrogTest:

Description

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.
 

Member Function Documentation

static void gmx::test::anonymous_namespace{leapfrog.cpp}::LeapFrogTest::testAgainstAnalyticalSolution ( FloatingPointTolerance  tolerance,
const LeapFrogTestData &  testData,
const real  totalTime 
)
inlinestatic

Test the numerical integrator against analytical solution for simple constant force case.

Parameters
[in]toleranceTolerance
[in]testDataTest data object
[in]totalTimeTotal numerical integration time
void gmx::test::anonymous_namespace{leapfrog.cpp}::LeapFrogTest::testAgainstReferenceData ( const LeapFrogTestData &  testData)
inline

Test the numerical integrator against pre-computed reference values.

Parameters
[in]testDataTest data object

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