Package ffx.potential.openmm
Class BondForce
java.lang.Object
ffx.openmm.Force
ffx.openmm.CustomBondForce
ffx.potential.openmm.BondForce
Bond Force.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBondForce
(BondPotentialEnergy bondPotentialEnergy) Bond Force constructor.BondForce
(BondPotentialEnergy bondPotentialEnergy, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Bond Force constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic Force
constructForce
(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Add a bond force to the OpenMM System.static Force
constructForce
(OpenMMEnergy openMMEnergy) Creat a bond force for the OpenMM System.void
updateForce
(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Update an existing bond force for the OpenMM System.void
updateForce
(OpenMMEnergy openMMEnergy) Update an existing bond force for the OpenMM System.Methods inherited from class ffx.openmm.CustomBondForce
addBond, addEnergyParameterDerivative, addGlobalParameter, addPerBondParameter, destroy, getBondParameters, getBondParameters, getEnergyFunction, getEnergyParameterDerivativeName, getGlobalParameterDefaultValue, getGlobalParameterName, getNumBonds, getNumEnergyParameterDerivatives, getNumGlobalParameters, getNumPerBondParameters, getPerBondParameterName, setBondParameters, setEnergyFunction, setGlobalParameterDefaultValue, setGlobalParameterName, setPerBondParameterName, setUsesPeriodicBoundaryConditions, updateParametersInContext, usesPeriodicBoundaryConditions
Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName
-
Constructor Details
-
BondForce
Bond Force constructor.- Parameters:
bondPotentialEnergy
- BondPotentialEnergy that contains the Bond instances
-
BondForce
public BondForce(BondPotentialEnergy bondPotentialEnergy, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy) Bond Force constructor.- Parameters:
bondPotentialEnergy
- BondPotentialEnergy that contains the Bond instancestopology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.
-
-
Method Details
-
constructForce
Creat a bond force for the OpenMM System.- Parameters:
openMMEnergy
- OpenMM Energy that contains the Bond instances.
-
constructForce
Add a bond force to the OpenMM System.- Parameters:
topology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.
-
updateForce
Update an existing bond force for the OpenMM System. -
updateForce
Update an existing bond force for the OpenMM System.- Parameters:
topology
- The topology index for the OpenMM System.openMMDualTopologyEnergy
- The OpenMMDualTopologyEnergy instance.
-