Package ffx.openmm
Class CustomAngleForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.CustomAngleForce
- Direct Known Subclasses:
AngleForce
Custom Angle Force.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAngle
(int i1, int i2, int i3, DoubleArray parameters) Add an angle force to the OpenMM System.void
addPerAngleParameter
(String name) Add a per-angle parameter to the OpenMM System.void
setAngleParameters
(int index, int i1, int i2, int i3, DoubleArray parameters) Set the parameters for one angle in the OpenMM System.void
updateParametersInContext
(Context context) Update the parameters in the OpenMM Context.Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName, usesPeriodicBoundaryConditions
-
Constructor Details
-
CustomAngleForce
-
-
Method Details
-
addPerAngleParameter
Add a per-angle parameter to the OpenMM System.- Parameters:
name
- The name of the parameter.
-
addAngle
Add an angle force to the OpenMM System.- Parameters:
i1
- The index of the first atom.i2
- The index of the second atom.i3
- The index of the third atom.parameters
- The parameters for the angle.
-
setAngleParameters
Set the parameters for one angle in the OpenMM System.- Parameters:
index
- The index of the angle.i1
- The index of the first atom.i2
- The index of the second atom.i3
- The index of the third atom.parameters
- The angle parameters.
-
updateParametersInContext
Update the parameters in the OpenMM Context.- Parameters:
context
- The OpenMM Context.
-