Package ffx.potential.utils
Class GradientUtils
java.lang.Object
ffx.potential.utils.GradientUtils
GradientUtils is a utility class for testing the gradient of a potential.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
testGradient
(GradientOptions gradientOptions) Test the gradient of the Potential.
-
Constructor Details
-
GradientUtils
Constructor.- Parameters:
potential
- The Potential to test.
-
-
Method Details
-
testGradient
Test the gradient of the Potential.- Parameters:
gradientOptions
- The GradientOptions to use.- Returns:
- The number of failures.
-