Class TorsionForce


public class TorsionForce extends PeriodicTorsionForce
  • Constructor Details

    • TorsionForce

      public TorsionForce(OpenMMEnergy openMMEnergy)
  • Method Details

    • setLambdaTorsion

      public void setLambdaTorsion(double lambdaTorsion)
      Set the lambda torsion scale factor.
      Parameters:
      lambdaTorsion - The lambda torsion scale factor.
    • 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 Torsion force.
      Parameters:
      openMMEnergy - The OpenMM Energy that contains the torsions.