Gromacs
2025.0-dev-20241011-013a99c
|
#include <gromacs/mdtypes/checkpointdata.h>
}
Data type hiding checkpoint implementation details
This data type allows to separate the implementation details of the checkpoint writing / reading from the implementation of the checkpoint clients. Checkpoint clients interface via the methods of the CheckpointData object, and do not need knowledge of data types used to store the data.
Templating allows checkpoint clients to have symmetric (templated) implementations for checkpoint reading and writing.
CheckpointData objects are dispatched via [Write|Read]CheckpointDataHolder objects, which interact with the checkpoint reading from / writing to file.