Package ffx.potential.openmm
Class OutOfPlaneBendForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.CustomCompoundBondForce
ffx.potential.openmm.OutOfPlaneBendForce
OpenMM Out-of-Plane Bend Force.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionOutOfPlaneBendForce
(OutOfPlaneBendPotentialEnergy outOfPlaneBendPotentialEnergy) Create an Out-of-Plane Bend Force.OutOfPlaneBendForce
(OutOfPlaneBendPotentialEnergy outOfPlaneBendPotentialEnergy, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Create an Out-of-Plane Bend Force for Dual Topology. -
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Convenience method to construct a Dual-Topology OpenMM Out-of-Plane Bend Force.static Force
constructForce
(OpenMMEnergy openMMEnergy) Convenience method to construct an OpenMM Out-of-Plane Bend Force.void
updateForce
(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Update an existing angle force for the Dual-Topology OpenMM System.void
updateForce
(OpenMMEnergy openMMEnergy) Update an existing angle force for the OpenMM System.Methods inherited from class ffx.openmm.CustomCompoundBondForce
addBond, addEnergyParameterDerivative, addFunction, addGlobalParameter, addPerBondParameter, addTabulatedFunction, destroy, getBondParameters, getEnergyFunction, getEnergyParameterDerivativeName, getFunctionParameters, getFunctionParameters, getGlobalParameterDefaultValue, getGlobalParameterName, getNumBonds, getNumEnergyParameterDerivatives, getNumFunctions, getNumGlobalParameters, getNumParticlesPerBond, getNumPerBondParameters, getNumTabulatedFunctions, getPerBondParameterName, getTabulatedFunction, getTabulatedFunctionName, setBondParameters, setEnergyFunction, setFunctionParameters, setGlobalParameterDefaultValue, setGlobalParameterName, setPerBondParameterName, setUsesPeriodicBoundaryConditions, updateParametersInContext, usesPeriodicBoundaryConditions
Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName
-
Constructor Details
-
OutOfPlaneBendForce
Create an Out-of-Plane Bend Force.- Parameters:
outOfPlaneBendPotentialEnergy
- The OutOfPlaneBendPotentialEnergy instance that contains the out-of-plane bends.
-
OutOfPlaneBendForce
public OutOfPlaneBendForce(OutOfPlaneBendPotentialEnergy outOfPlaneBendPotentialEnergy, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Create an Out-of-Plane Bend Force for Dual Topology.- Parameters:
outOfPlaneBendPotentialEnergy
- The OutOfPlaneBendPotentialEnergy instance that contains the out-of-plane bends.topology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.
-
-
Method Details
-
constructForce
Convenience method to construct an OpenMM Out-of-Plane Bend Force.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the out-of-plane bends.- Returns:
- An OpenMM Out-of-Plane Bend Force, or null if there are no out-of-plane bends.
-
constructForce
Convenience method to construct a Dual-Topology OpenMM Out-of-Plane Bend Force.- Parameters:
topology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.- Returns:
- An OpenMM Out-of-Plane Bend Force, or null if there are no out-of-plane bends.
-
updateForce
Update an existing angle force for the OpenMM System.- Parameters:
openMMEnergy
- The OpenMM Energy instance that contains the angles.
-
updateForce
Update an existing angle force for the Dual-Topology OpenMM System.- Parameters:
topology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.
-