1 #ifndef OPENMM_LANGEVININTEGRATOR_H_
2 #define OPENMM_LANGEVININTEGRATOR_H_
35 #include "Integrator.h"
36 #include "openmm/Kernel.h"
37 #include "internal/windowsExport.h"
93 return randomNumberSeed;
108 randomNumberSeed = seed;
115 void step(
int steps);
122 void initialize(ContextImpl& context);
131 std::vector<std::string> getKernelNames();
135 double computeKineticEnergy();
137 double temperature, friction;
138 int randomNumberSeed;
void setTemperature(double temp)
Set the temperature of the heat bath (in Kelvin).
Definition: LangevinIntegrator.h:68
int getRandomNumberSeed() const
Get the random number seed.
Definition: LangevinIntegrator.h:92
double getTemperature() const
Get the temperature of the heat bath (in Kelvin).
Definition: LangevinIntegrator.h:60
double getFriction() const
Get the friction coefficient which determines how strongly the system is coupled to the heat bath (in...
Definition: LangevinIntegrator.h:77
This is an Integrator which simulates a System using Langevin dynamics.
Definition: LangevinIntegrator.h:45
void setRandomNumberSeed(int seed)
Set the random number seed.
Definition: LangevinIntegrator.h:107
An Integrator defines a method for simulating a System by integrating the equations of motion...
Definition: Integrator.h:54
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
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: LangevinIntegrator.h:86