Class GKCavitationForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.amoeba.GKCavitationForce
Direct Known Subclasses:
AmoebaGKCavitationForce

public class GKCavitationForce extends Force
Implicit Solvent Cavitation Force.
  • Constructor Details

    • GKCavitationForce

      public GKCavitationForce()
      Constructor.
  • Method Details

    • addParticle

      public void addParticle(double radius, double surfaceTension, int isHydrogen)
      Add an atom to the Cavitation force.
      Parameters:
      radius - Atomic radius.
      surfaceTension - Surface tension.
      isHydrogen - Is this a hydrogen atom?
    • setParticleParameters

      public void setParticleParameters(int index, double radius, double surfaceTension, int isHydrogen)
      Set the parameters for an atom in the Cavitation force.
      Parameters:
      index - Atom index.
      radius - Atomic radius.
      surfaceTension - Surface tension.
      isHydrogen - Is this a hydrogen atom?
    • setNonbondedMethod

      public void setNonbondedMethod(int method)
      Set the nonbonded method.
      Parameters:
      method - Nonbonded method.
    • destroy

      public void destroy()
      Destroy the force.
    • updateParametersInContext

      public void updateParametersInContext(Context context)
      Update the parameters in the context.
      Parameters:
      context - OpenMM context.