Gromacs  2026.0-dev-20250711-6857db4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx::test::anonymous_namespace{xdr_serializer.cpp}::XdrSerializerTest Class Reference

Inherits TestWithParam< XdrSerializerTestParameters >.

+ Collaboration diagram for gmx::test::anonymous_namespace{xdr_serializer.cpp}::XdrSerializerTest:

Description

Test XDR serialization works.

We want to be sure that XDR serialization works when reading and writing reals and rvecs from both double- and mixed-precision builds of GROMACS. The GROMACS XDR-file headers must write a value that describes the precision of the GROMACS that wrote the file, which provides clarity to a reader built in either precision as to what sizes of values it should expect to find in the XDR. In testing, we can direct either kind of GROMACS configuration to write as if it was either kind of configuration, and to read back natively.

Public Attributes

TestFileManager fileManager_
 
std::filesystem::path filename_ = fileManager_.getTemporaryFilePath("data.bin")
 

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