Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::StatePropagatorData::ReferenceTemperatureHelper Class Reference

Description

Helper object to scale velocities according to reference temperature change.

Public Member Functions

 ReferenceTemperatureHelper (const t_inputrec *inputrec, StatePropagatorData *statePropagatorData, const t_mdatoms *mdatoms)
 Constructor.
 
void updateReferenceTemperature (ArrayRef< const real > temperatures, ReferenceTemperatureChangeAlgorithm gmx_unused algorithm)
 Update the reference temperature. More...
 

Member Function Documentation

void gmx::StatePropagatorData::ReferenceTemperatureHelper::updateReferenceTemperature ( ArrayRef< const real temperatures,
ReferenceTemperatureChangeAlgorithm gmx_unused  algorithm 
)
inline

Update the reference temperature.

Changing the reference temperature requires scaling the velocities, which is done here.

Parameters
temperaturesNew reference temperatures
algorithmThe algorithm which initiated the temperature update

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