Class AmoebaWcaDispersionForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.amoeba.WcaDispersionForce
ffx.potential.openmm.AmoebaWcaDispersionForce

public class AmoebaWcaDispersionForce extends WcaDispersionForce
  • Constructor Details

    • AmoebaWcaDispersionForce

      public AmoebaWcaDispersionForce(OpenMMEnergy openMMEnergy)
      Create a new Amoeba WCA dispersion force.
      Parameters:
      openMMEnergy - The OpenMM energy term.
  • Method Details

    • constructForce

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

      public void updateForce(Atom[] atoms, OpenMMEnergy openMMEnergy)
      Update the WCA force.
      Parameters:
      atoms - The atoms to update.
      openMMEnergy - The OpenMM energy term.