Class RestrainDistanceForce

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

public class RestrainDistanceForce extends CustomBondForce
Restrain-Distance Force.
  • Constructor Details

    • RestrainDistanceForce

      public RestrainDistanceForce(BondType.BondFunction bondFunction, RestrainDistancePotentialEnergy restrainDistancePotentialEnergy)
      Restrain Bond Force constructor.
      Parameters:
      bondFunction - The bond function.
      restrainDistancePotentialEnergy - RestraintDistancePotentialEnergy instance.
  • 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.