Gromacs  2025-dev-20240910-a7e2421
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Variables
anonymous_namespace{state.cpp} Namespace Reference

Enumerations

enum  CheckpointVersion { CheckpointVersion::Base, CheckpointVersion::Count }
 Enum describing the contents ekinstate_t writes to modular checkpoint. More...
 
enum  DFHistoryCheckpointVersion { DFHistoryCheckpointVersion::Base, DFHistoryCheckpointVersion::Count }
 Enum describing the contents df_history_t writes to modular checkpoint. More...
 

Variables

constexpr auto c_currentVersion = CheckpointVersion(int(CheckpointVersion::Count) - 1)
 
constexpr auto c_dfHistoryCurrentVersion
 

Enumeration Type Documentation

enum anonymous_namespace{state.cpp}::CheckpointVersion
strong

Enum describing the contents ekinstate_t writes to modular checkpoint.

When changing the checkpoint content, add a new element just above Count, and adjust the checkpoint functionality.

Enumerator
Base 

First version of modular checkpointing.

Count 

Number of entries. Add new versions right above this!

enum anonymous_namespace{state.cpp}::DFHistoryCheckpointVersion
strong

Enum describing the contents df_history_t writes to modular checkpoint.

When changing the checkpoint content, add a new element just above Count, and adjust the checkpoint functionality.

Enumerator
Base 

First version of modular checkpointing.

Count 

Number of entries. Add new versions right above this!

Variable Documentation

constexpr auto anonymous_namespace{state.cpp}::c_dfHistoryCurrentVersion
Initial value:
=
DFHistoryCheckpointVersion(int(DFHistoryCheckpointVersion::Count) - 1)
DFHistoryCheckpointVersion
Enum describing the contents df_history_t writes to modular checkpoint.
Definition: state.cpp:195