Gromacs  2026.0-dev-20241213-9ac17bb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Variables
gmx::anonymous_namespace{energydata.cpp} Namespace Reference

Enumerations

enum  CheckpointVersion { CheckpointVersion::Base, CheckpointVersion::Count }
 Enum describing the contents EnergyData::Element writes to modular checkpoint. More...
 

Variables

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

Enumeration Type Documentation

enum gmx::anonymous_namespace{energydata.cpp}::CheckpointVersion
strong

Enum describing the contents EnergyData::Element 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!