Class InPlaneAngleForce


public class InPlaneAngleForce extends CustomCompoundBondForce
OpenMM In-Plane Angle Force.
  • Constructor Details

    • InPlaneAngleForce

      public InPlaneAngleForce(AnglePotentialEnergy anglePotentialEnergy, OpenMMEnergy openMMEnergy)
      Create an OpenMM Angle Force.
      Parameters:
      anglePotentialEnergy - The AnglePotentialEnergy that contains the angles.
      openMMEnergy - The OpenMM Energy instance that contains the angles.
    • InPlaneAngleForce

      public InPlaneAngleForce(AnglePotentialEnergy anglePotentialEnergy, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Create a Dual Topology OpenMM Angle Force.
      Parameters:
      anglePotentialEnergy - The AnglePotentialEnergy that contains the angles.
      topology - The topology index for the OpenMM System.
      openMMDualTopologyEnergy - The OpenMMDualTopologyEnergy instance.
  • Method Details

    • constructForce

      public static Force constructForce(OpenMMEnergy openMMEnergy)
      Convenience method to construct an OpenMM In-Plane Angle Force.
      Parameters:
      openMMEnergy - The OpenMM Energy instance that contains the angles.
      Returns:
      An OpenMM Angle Force, or null if there are no angles.
    • constructForce

      public static Force constructForce(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Convenience method to construct a Dual Topology OpenMM In-Plane Angle Force.
      Parameters:
      topology - The topology index for the OpenMM System.
      openMMDualTopologyEnergy - The OpenMMDualTopologyEnergy instance.
      Returns:
      An OpenMM Angle Force, or null if there are no angles.
    • updateForce

      public void updateForce(OpenMMEnergy openMMEnergy)
      Update an existing angle force for the OpenMM System.
      Parameters:
      openMMEnergy - The OpenMM Energy instance that contains the angles.
    • updateForce

      public void updateForce(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Update an existing angle force for the Dual Topology OpenMM System.
      Parameters:
      topology - The topology index for the OpenMM System.
      openMMDualTopologyEnergy - The OpenMMDualTopologyEnergy instance.