Package ffx.potential.openmm
Class AngleForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.CustomAngleForce
ffx.potential.openmm.AngleForce
OpenMM Angle Force.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(OpenMMEnergy openMMEnergy) Convenience method to construct an OpenMM Angle Force.void
updateForce
(OpenMMEnergy openMMEnergy) Update an existing angle force for the OpenMM System.Methods inherited from class ffx.openmm.CustomAngleForce
addAngle, addPerAngleParameter, setAngleParameters, updateParametersInContext
Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName, usesPeriodicBoundaryConditions
-
Constructor Details
-
AngleForce
Create an OpenMM Angle Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the angles.
-
-
Method Details
-
constructForce
Convenience method to construct an OpenMM Angle Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the angles.- Returns:
- An Angle Force, or null if there are no angles.
-
updateForce
Update an existing angle force for the OpenMM System.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the angles.
-