Gromacs  2025-dev-20240614-602a366
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::ReferenceTemperatureManager Class Referencefinal

#include <gromacs/modularsimulator/referencetemperaturemanager.h>


Object managing reference temperature changes.

The ReferenceTemperatureManager allows to change the reference temperatures of the temperature groups. Elements can register a callback if they need to be informed about changes.

The ReferenceTemperatureManager updates the inputrec. Elements might, however, have a copy of the reference temperature they need updated, or perform another action upon change of the reference temperature (e.g. velocity scaling or recalculating a temperature coupling integral).

Public Member Functions

 ReferenceTemperatureManager (gmx_ekindata_t *ekindata)
void registerUpdateCallback (ReferenceTemperatureCallback referenceTemperatureCallback)
 Register a callback for reference temperature update.
void setReferenceTemperature (ArrayRef< const real > newReferenceTemperatures, ReferenceTemperatureChangeAlgorithm algorithm)
 Set reference temperatures (one per temperature group)

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