Package ffx.potential.openmm
Class TorsionForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.PeriodicTorsionForce
ffx.potential.openmm.TorsionForce
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(OpenMMEnergy openMMEnergy) Convenience method to construct an OpenMM Torsion Force.void
setLambdaTorsion
(double lambdaTorsion) Set the lambda torsion scale factor.void
updateForce
(OpenMMEnergy openMMEnergy) Update the 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
-
TorsionForce
-
-
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 Torsion Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the torsions.- Returns:
- A Torsion Force, or null if there are no torsions.
-
updateForce
Update the Torsion force.- Parameters:
openMMEnergy
- The OpenMM Energy that contains the torsions.
-