Class AmoebaGKCavitationForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.amoeba.GKCavitationForce
ffx.potential.openmm.AmoebaGKCavitationForce

public class AmoebaGKCavitationForce extends GKCavitationForce
AmoebaCavitationForce.
  • Constructor Details

    • AmoebaGKCavitationForce

      public AmoebaGKCavitationForce(OpenMMEnergy openMMEnergy)
      Constructor.
      Parameters:
      openMMEnergy - OpenMM energy.
  • Method Details

    • constructForce

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

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