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;
126 randomNumberSeed = seed;
133 void step(
int steps);
142 void stepTo(
double time);
158 std::vector<std::string> getKernelNames();
162 double computeKineticEnergy();
164 double temperature, friction, errorTol;
165 int randomNumberSeed;
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
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:125
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
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