Package ffx.potential.openmm
Class RestrainTorsionsForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.PeriodicTorsionForce
ffx.potential.openmm.RestrainTorsionsForce
Restrain Torsions Force.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRestrainTorsionsForce
(OpenMMEnergy openMMEnergy) Restrain Torsion Force constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(OpenMMEnergy openMMEnergy) Convenience method to construct an OpenMM Torsion Force.void
updateForce
(OpenMMEnergy openMMEnergy) Update the Restraint-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
-
RestrainTorsionsForce
Restrain Torsion Force constructor.- Parameters:
openMMEnergy
- The OpenMM Energy that contains the restraint-torsions.
-
-
Method Details
-
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 Restraint-Torsion force.- Parameters:
openMMEnergy
- The OpenMM Energy that contains the restraint-torsions.
-