Class FixedChargeNonbondedForce

java.lang.Object
ffx.openmm.Force
ffx.openmm.NonbondedForce
ffx.potential.openmm.FixedChargeNonbondedForce

public class FixedChargeNonbondedForce extends NonbondedForce
Define a fixed charge non-bonded force.

Uses arithmetic mean to define sigma and geometric mean for epsilon.

  • Constructor Details

    • FixedChargeNonbondedForce

      public FixedChargeNonbondedForce(OpenMMEnergy openMMEnergy)
  • Method Details

    • constructForce

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

      public void updateForce(Atom[] atoms, OpenMMEnergy openMMEnergy)
      Update an existing non-bonded force for the OpenMM System.
      Parameters:
      atoms - The Atom array.
      openMMEnergy - The OpenMM Energy instance that contains the non-bonded force information.