Package ffx.openmm
Class LangevinMiddleIntegrator
java.lang.Object
ffx.openmm.Integrator
ffx.openmm.LangevinMiddleIntegrator
- Direct Known Subclasses:
LangevinIntegrator
Langevin Integrator.
-
Field Summary
Fields inherited from class ffx.openmm.Integrator
pointer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroy the integrator.void
setRandomNumberSeed
(int seed) Set the random number seed.void
step
(int steps) Step the integrator.Methods inherited from class ffx.openmm.Integrator
getPointer, setConstraintTolerance, setPointer
-
Constructor Details
-
LangevinMiddleIntegrator
public LangevinMiddleIntegrator(double dt, double temp, double gamma) Constructor.- Parameters:
dt
- The time step.temp
- The temperature.gamma
- The friction coefficient.
-
-
Method Details
-
step
public void step(int steps) Step the integrator.- Overrides:
step
in classIntegrator
- Parameters:
steps
- The number of steps to take.
-
setRandomNumberSeed
public void setRandomNumberSeed(int seed) Set the random number seed.- Parameters:
seed
- The random number seed.
-
destroy
public void destroy()Destroy the integrator.- Overrides:
destroy
in classIntegrator
-