Class RestrainBondsForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.CustomBondForce
ffx.potential.openmm.RestrainBondsForce

public class RestrainBondsForce extends CustomBondForce
Restrain Bonds Force.
  • Constructor Details

    • RestrainBondsForce

      public RestrainBondsForce(BondType.BondFunction bondFunction, OpenMMEnergy openMMEnergy)
      Restrain Bond Force constructor.
      Parameters:
      bondFunction - The bond function.
      openMMEnergy - The OpenMM Energy.
  • Method Details

    • constructForce

      public static Force constructForce(BondType.BondFunction bondFunction, OpenMMEnergy openMMEnergy)
      Add a Restrain-Bond force to the OpenMM System.
      Parameters:
      bondFunction - The bond function.
      openMMEnergy - The OpenMM Energy.