Class RestrainTorsionsForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.PeriodicTorsionForce
ffx.potential.openmm.RestrainTorsionsForce

public class RestrainTorsionsForce extends PeriodicTorsionForce
Restrain Torsions Force.
  • Constructor Details

    • RestrainTorsionsForce

      public RestrainTorsionsForce(OpenMMEnergy openMMEnergy)
      Restrain Torsion Force constructor.
      Parameters:
      openMMEnergy - The OpenMM Energy that contains the restraint-torsions.
  • Method Details

    • constructForce

      public static Force constructForce(OpenMMEnergy openMMEnergy)
      Convenience method to construct an OpenMM Torsion Force.
      Parameters:
      openMMEnergy - The OpenMM Energy instance that contains the torsions.
      Returns:
      A Torsion Force, or null if there are no torsions.
    • updateForce

      public void updateForce(OpenMMEnergy openMMEnergy)
      Update the Restraint-Torsion force.
      Parameters:
      openMMEnergy - The OpenMM Energy that contains the restraint-torsions.