Class AmoebaMultipoleForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.amoeba.MultipoleForce
ffx.potential.openmm.AmoebaMultipoleForce

public class AmoebaMultipoleForce extends MultipoleForce
AmoebaMultipoleForce.
  • Constructor Details

    • AmoebaMultipoleForce

      public AmoebaMultipoleForce(OpenMMEnergy openMMEnergy)
      Construct an AMOEBA Multipole Force.
      Parameters:
      openMMEnergy - The OpenMMEnergy instance that contains the multipole information.
    • AmoebaMultipoleForce

      public AmoebaMultipoleForce(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Construct an AMOEBA Multipole Force.
      Parameters:
      topology - The topology index for the dual topology system.
      openMMDualTopologyEnergy - The OpenMM Dual-Topology Energy instance that contains the multipole parameters.
  • Method Details

    • constructForce

      public static Force constructForce(OpenMMEnergy openMMEnergy)
      Convenience method to construct an AMOEBA Multipole Force.
      Parameters:
      openMMEnergy - The OpenMM Energy instance that contains the multipole information.
      Returns:
      An AMOEBA Multipole Force, or null if there are no multipole interactions.
    • constructForce

      public static Force constructForce(int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Convenience method to construct an AMOEBA Multipole Force.
      Parameters:
      topology - The topology index for the dual topology system.
      openMMDualTopologyEnergy - The OpenMM Dual-Topology Energy instance that contains the vdW information.
      Returns:
      An AMOEBA Multipole Force, or null if there are no multipole interactions.
    • updateForce

      public void updateForce(Atom[] atoms, OpenMMEnergy openMMEnergy)
      Update the force parameters for the AMOEBA Multipole Force.
      Parameters:
      atoms - The array of Atoms for which the force parameters are to be updated.
      openMMEnergy - The OpenMMEnergy instance that contains the multipole information.
    • updateForce

      public void updateForce(Atom[] atoms, int topology, OpenMMDualTopologyEnergy openMMDualTopologyEnergy)
      Update the force parameters for the AMOEBA Multipole Force in a dual topology system.
      Parameters:
      atoms - The array of Atoms for which the force parameters are to be updated.
      topology - The topology index for the dual topology system.
      openMMDualTopologyEnergy - The OpenMM Dual-Topology Energy instance that contains the multipole parameters.