Package ffx.potential.openmm
Class OpenMMIntegrator
java.lang.Object
ffx.potential.openmm.OpenMMIntegrator
Create and manage an OpenMM Integrator.
An Integrator defines a method for simulating a System by integrating the equations of motion.
Each Integrator object is bound to a particular Context which it integrates. This connection is specified by passing the Integrator as an argument to the constructor of the Context.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomMTSIntegratorcreateCustomMTSIntegrator(double dt, OpenMMSystem openMMSystem) Create a Custom MTS Integrator.static CustomMTSLangevinIntegratorcreateCustomMTSLangevinIntegrator(double dt, double temperature, OpenMMSystem openMMSystem) Create a Custom MTS Langevin integrator.static IntegratorcreateIntegrator(String name, double timeStep, double temperature, OpenMMSystem openMMSystem) Create a integrator.static LangevinIntegratorcreateLangevinIntegrator(double dt, double temperature, ForceField forceField) Create a Langevin integrator.static VerletIntegratorcreateVerletIntegrator(double dt) Create a Verlet integrator.
-
Method Details
-
createIntegrator
public static Integrator createIntegrator(String name, double timeStep, double temperature, OpenMMSystem openMMSystem) Create a integrator.- Parameters:
name- Name of the integrator to use.timeStep- Time step (psec).temperature- Target temperature (kelvin).openMMSystem- OpenMM System.- Returns:
- Integrator reference.
-
createLangevinIntegrator
public static LangevinIntegrator createLangevinIntegrator(double dt, double temperature, ForceField forceField) Create a Langevin integrator.- Parameters:
dt- Time step (psec).temperature- Temperature (K).forceField- Force field.
-
createCustomMTSIntegrator
Create a Custom MTS Integrator.- Parameters:
dt- The outer time step (psec).
-
createCustomMTSLangevinIntegrator
public static CustomMTSLangevinIntegrator createCustomMTSLangevinIntegrator(double dt, double temperature, OpenMMSystem openMMSystem) Create a Custom MTS Langevin integrator.- Parameters:
dt- The outer time step (psec).temperature- The target temperature (K).openMMSystem- OpenMM System.
-
createVerletIntegrator
Create a Verlet integrator.- Parameters:
dt- Time step (psec).
-