Class ImproperTorsion

All Implemented Interfaces:
BondedEnergy, ROLS, Serializable, Cloneable, Comparable<BondedTerm>, MutableTreeNode, TreeNode

public class ImproperTorsion extends BondedTerm
The ImproperTorsion class represents an Improper Torsion.
Since:
1.0
Author:
Michael J. Schnieders
See Also:
  • Field Details

    • improperType

      public ImproperTorsionType improperType
      Force field parameters to compute the ImproperTorsion energy.
    • scaleFactor

      public double scaleFactor
      Scale factor.
  • Method Details

    • compareTo

      public int compareTo(BondedTerm o)
      Specified by:
      compareTo in interface Comparable<BondedTerm>
      Overrides:
      compareTo in class BondedTerm
    • energy

      public double energy(boolean gradient, int threadID, AtomicDoubleArray3D grad, AtomicDoubleArray3D lambdaGrad)
      energy.

      Evaluate this Improper Torsion energy.

      Parameters:
      gradient - If true, compute the gradient.
      threadID - The thread ID.
      grad - a AtomicDoubleArray3D object.
      lambdaGrad - a AtomicDoubleArray3D object.
      Returns:
      a double.
    • log

      public void log()
      Log details for this Improper Torsion energy term.
    • toString

      public String toString()

      Overridden toString method returns the MSNode's name

      Overridden toString Method returns the Term's id.

      Overridden toString Method returns the Term's id.

      Overrides:
      toString in class BondedTerm