1 #ifndef OPENMM_ANDERSENTHERMOSTAT_H_
2 #define OPENMM_ANDERSENTHERMOSTAT_H_
37 #include "internal/windowsExport.h"
52 static const std::string key =
"AndersenTemperature";
59 static const std::string key =
"AndersenCollisionFrequency";
84 defaultTemp = temperature;
101 defaultFreq = frequency;
107 return randomNumberSeed;
118 randomNumberSeed = seed;
123 double defaultTemp, defaultFreq;
124 int randomNumberSeed;
void setRandomNumberSeed(int seed)
Set the random number seed.
Definition: AndersenThermostat.h:117
static const std::string & CollisionFrequency()
This is the name of the parameter which store the current collision frequency (in 1/ps)...
Definition: AndersenThermostat.h:58
double getDefaultCollisionFrequency() const
Get the default collision frequency (in 1/ps).
Definition: AndersenThermostat.h:91
int getRandomNumberSeed() const
Get the random number seed.
Definition: AndersenThermostat.h:106
This class uses the Andersen method to maintain constant temperature.
Definition: AndersenThermostat.h:45
static const std::string & Temperature()
This is the name of the parameter which stores the current temperature of the heat bath (in Kelvin)...
Definition: AndersenThermostat.h:51
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57
void setDefaultTemperature(double temperature)
Set the default temperature of the heat bath.
Definition: AndersenThermostat.h:83
double getDefaultTemperature() const
Get the default temperature of the heat bath (in Kelvin).
Definition: AndersenThermostat.h:74
void setDefaultCollisionFrequency(double frequency)
Set the default collision frequency.
Definition: AndersenThermostat.h:100