1 #ifndef OPENMM_VARIABLELANGEVININTEGRATOR_H_
2 #define OPENMM_VARIABLELANGEVININTEGRATOR_H_
35 #include "Integrator.h"
36 #include "openmm/Kernel.h"
37 #include "internal/windowsExport.h"
115 return randomNumberSeed;
130 randomNumberSeed = seed;
137 void step(
int steps);
146 void stepTo(
double time);
153 void initialize(ContextImpl& context);
162 std::vector<std::string> getKernelNames();
166 double computeKineticEnergy();
168 double temperature, friction, errorTol;
169 int randomNumberSeed;
void setTemperature(double temp)
Set the temperature of the heat bath (in Kelvin).
Definition: VariableLangevinIntegrator.h:78
int getRandomNumberSeed() const
Get the random number seed.
Definition: VariableLangevinIntegrator.h:114
double getFriction() const
Get the friction coefficient which determines how strongly the system is coupled to the heat bath (in...
Definition: VariableLangevinIntegrator.h:87
void setErrorTolerance(double tol)
Set the error tolerance.
Definition: VariableLangevinIntegrator.h:108
double getTemperature() const
Get the temperature of the heat bath (in Kelvin).
Definition: VariableLangevinIntegrator.h:70
double getErrorTolerance() const
Get the error tolerance.
Definition: VariableLangevinIntegrator.h:102
An Integrator defines a method for simulating a System by integrating the equations of motion...
Definition: Integrator.h:54
void setRandomNumberSeed(int seed)
Set the random number seed.
Definition: VariableLangevinIntegrator.h:129
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
This is an error contolled, variable time step Integrator that simulates a System using Langevin dyna...
Definition: VariableLangevinIntegrator.h:55
Definition: AndersenThermostat.h:40
void setFriction(double coeff)
Set the friction coefficient which determines how strongly the system is coupled to the heat bath (in...
Definition: VariableLangevinIntegrator.h:96