Gromacs  2025.0-dev-20241011-013a99c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
gmx::test::anonymous_namespace{msd.cpp} Namespace Reference

Classes

class  MsdMatcher
 MsdMatcher is effectively an extension of XvgMatcher for gmx msd results. More...
 

Functions

bool isRelevantXvgHeader (const std::string &line)
 Returns whether or not we care about a header line in an xvg file, for matching purposes. More...
 
void checkXvgDataPoint (TestReferenceChecker *checker, const std::string &value)
 Helper function to check a single xvg value in a sequence.
 

Function Documentation

bool gmx::test::anonymous_namespace{msd.cpp}::isRelevantXvgHeader ( const std::string &  line)

Returns whether or not we care about a header line in an xvg file, for matching purposes.

Todo:
This is mostly taken from xvgtest.cpp. We could probably create some modular checker functionality where each line is compared against a set of subcheckers automatically. Then we could build matchers like this out of the modular components.