Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::BerendsenTemperatureCoupling Class Referencefinal
+ Inheritance diagram for gmx::BerendsenTemperatureCoupling:
+ Collaboration diagram for gmx::BerendsenTemperatureCoupling:

Description

Implements Berendsen temperature coupling.

Public Member Functions

real apply (Step gmx_unused step, int temperatureGroup, real currentKineticEnergy, real currentTemperature, const TemperatureCouplingData &temperatureCouplingData) override
 Apply the v-rescale temperature control.
 
void connectWithPropagator (const PropagatorConnection &connectionData, int numTemperatureGroups) override
 Connect with propagator - Berendsen only scales start step velocities.
 
void writeCheckpoint (std::optional< WriteCheckpointData > gmx_unused checkpointData, const t_commrec gmx_unused *cr) override
 No data to write to checkpoint.
 
void readCheckpoint (std::optional< ReadCheckpointData > gmx_unused checkpointData, const t_commrec gmx_unused *cr) override
 No data to read from checkpoints.
 
real updateReferenceTemperatureAndIntegral (int temperatureGroup, real gmx_unused newTemperature, ReferenceTemperatureChangeAlgorithm gmx_unused algorithm, const TemperatureCouplingData &temperatureCouplingData) override
 No changes needed.
 
- Public Member Functions inherited from gmx::ITemperatureCouplingImpl
virtual real apply (Step step, int temperatureGroup, real currentKineticEnergy, real currentTemperature, const TemperatureCouplingData &temperatureCouplingData)=0
 Make a temperature control step. More...
 
virtual void writeCheckpoint (std::optional< WriteCheckpointData > checkpointData, const t_commrec *cr)=0
 Write private data to checkpoint.
 
virtual void readCheckpoint (std::optional< ReadCheckpointData > checkpointData, const t_commrec *cr)=0
 Read private data from checkpoint.
 
virtual real updateReferenceTemperatureAndIntegral (int temperatureGroup, real newTemperature, ReferenceTemperatureChangeAlgorithm algorithm, const TemperatureCouplingData &temperatureCouplingData)=0
 Update the reference temperature and update and return the temperature coupling integral.
 
virtual ~ITemperatureCouplingImpl ()=default
 Standard virtual destructor.
 

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