Package ffx.potential.openmm
Class CustomMTSLangevinIntegrator
java.lang.Object
ffx.openmm.Integrator
ffx.openmm.CustomIntegrator
ffx.potential.openmm.CustomMTSLangevinIntegrator
OpenMM Custom MTS Langevin Integrator.
-
Field Summary
Fields inherited from class ffx.openmm.Integrator
pointer
-
Constructor Summary
ConstructorDescriptionCustomMTSLangevinIntegrator
(double dt, double temperature, double frictionCoeff, boolean hasAmoebaCavitationForce) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
createMTSLangevinSubStep
(int parentSubsteps, int[] forceGroups, int[] subSteps, StringBuilder sb) Create substeps for the MTS Langevin CustomIntegrator.Methods inherited from class ffx.openmm.CustomIntegrator
addComputePerDof, addConstrainPositions, addConstrainVelocities, addGlobalVariable, addPerDofVariable, addUpdateContextState
Methods inherited from class ffx.openmm.Integrator
destroy, getPointer, setConstraintTolerance, setPointer, step
-
Constructor Details
-
CustomMTSLangevinIntegrator
public CustomMTSLangevinIntegrator(double dt, double temperature, double frictionCoeff, boolean hasAmoebaCavitationForce) Constructor.- Parameters:
dt
- The time step.temperature
- The temperature.frictionCoeff
- The friction coefficient.hasAmoebaCavitationForce
- Whether the system has an Amoeba cavitation force.
-
-
Method Details
-
createMTSLangevinSubStep
public void createMTSLangevinSubStep(int parentSubsteps, int[] forceGroups, int[] subSteps, StringBuilder sb) Create substeps for the MTS Langevin CustomIntegrator.- Parameters:
parentSubsteps
- The number of substeps for the previous force group.forceGroups
- The force groups to be evaluated.subSteps
- The number of substeps for each force group.
-