Package ffx.potential.openmm
Class ImproperTorsionForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.PeriodicTorsionForce
ffx.potential.openmm.ImproperTorsionForce
OpenMM Improper Torsion Force.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionImproperTorsionForce
(OpenMMEnergy openMMEnergy) Create an OpenMM Improper Torsion Force. -
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(OpenMMEnergy openMMEnergy) Convenience method to construct an OpenMM Improper Torsion Force.void
setLambdaTorsion
(double lambdaTorsion) Set the lambda torsion scale factor.void
updateForce
(OpenMMEnergy openMMEnergy) Update the Improper Torsion force.Methods inherited from class ffx.openmm.PeriodicTorsionForce
addTorsion, destroy, setTorsionParameters, updateParametersInContext
Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName, usesPeriodicBoundaryConditions
-
Constructor Details
-
ImproperTorsionForce
Create an OpenMM Improper Torsion Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the improper torsions.
-
-
Method Details
-
setLambdaTorsion
public void setLambdaTorsion(double lambdaTorsion) Set the lambda torsion scale factor.- Parameters:
lambdaTorsion
- The lambda torsion scale factor.
-
constructForce
Convenience method to construct an OpenMM Improper Torsion Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the improper torsions.- Returns:
- An Improper Torsion Force, or null if there are no improper torsions.
-
updateForce
Update the Improper Torsion force.- Parameters:
openMMEnergy
- The OpenMM Energy that contains the improper torsions.
-