Class GradientUtils

java.lang.Object
ffx.potential.utils.GradientUtils

public class GradientUtils extends Object
GradientUtils is a utility class for testing the gradient of a potential.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • GradientUtils

      public GradientUtils(Potential potential)
      Constructor.
      Parameters:
      potential - The Potential to test.
  • Method Details

    • testGradient

      public int testGradient(GradientOptions gradientOptions)
      Test the gradient of the Potential.
      Parameters:
      gradientOptions - The GradientOptions to use.
      Returns:
      The number of failures.