Gromacs
2025-dev-20241003-bd59e46
|
#include <gromacs/modularsimulator/andersentemperaturecoupling.h>
Element implementing the Andersen thermostat.
Public Member Functions | |
AndersenTemperatureCoupling (double simulationTimestep, bool doMassive, int64_t seed, ArrayRef< const real > referenceTemperature, ArrayRef< const real > couplingTime, StatePropagatorData *statePropagatorData, const MDAtoms *mdAtoms, const t_commrec *cr) | |
Constructor. | |
void | scheduleTask (Step step, Time time, const RegisterRunFunction ®isterRunFunction) override |
Register run function for step / time. More... | |
void | elementSetup () override |
Sanity check at setup time. | |
void | elementTeardown () override |
No element teardown needed. | |
int | frequency () const |
Returns the frequency at which temperature coupling is performed. | |
Public Member Functions inherited from gmx::ISimulatorElement | |
virtual | ~ISimulatorElement ()=default |
Standard virtual destructor. | |
Static Public Member Functions | |
static ISimulatorElement * | getElementPointerImpl (LegacySimulatorData *legacySimulatorData, ModularSimulatorAlgorithmBuilderHelper *builderHelper, StatePropagatorData *statePropagatorData, EnergyData *energyData, FreeEnergyPerturbationData *freeEnergyPerturbationData, GlobalCommunicationHelper *globalCommunicationHelper, ObservablesReducer *observablesReducer) |
Factory method implementation. More... | |
|
static |
Factory method implementation.
legacySimulatorData | Pointer allowing access to simulator level data |
builderHelper | ModularSimulatorAlgorithmBuilder helper object |
statePropagatorData | Pointer to the StatePropagatorData object |
energyData | Pointer to the EnergyData object |
freeEnergyPerturbationData | Pointer to the FreeEnergyPerturbationData object |
globalCommunicationHelper | Pointer to the GlobalCommunicationHelper object |
observablesReducer | Pointer to the ObservablesReducer object |
storeElement
|
overridevirtual |
Register run function for step / time.
step | The step number |
time | The time |
registerRunFunction | Function allowing to register a run function |
Implements gmx::ISimulatorElement.