Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
gmx::ICheckpointHelperClient Class Referenceabstract

#include <gromacs/modularsimulator/modularsimulatorinterfaces.h>

+ Inheritance diagram for gmx::ICheckpointHelperClient:

Description

Client that needs to store data during checkpointing.

The current checkpointing helper uses the legacy t_state object to collect the data to be checkpointed. Clients get queried for their contributions using pointers to t_state objects.

Todo:

Add checkpoint reading

Evolve this to a model in which the checkpoint helper passes a file pointer rather than a t_state object, and the clients are responsible to read / write.

Public Member Functions

virtual ~ICheckpointHelperClient ()=default
 Standard virtual destructor.
 

Protected Member Functions

virtual void writeCheckpoint (t_state *localState, t_state *globalState)=0
 Write checkpoint.
 

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