Package ffx.xray.commands.test
Class Gradient
java.lang.Object
ffx.utilities.FFXCommand
ffx.algorithms.cli.AlgorithmsCommand
ffx.xray.commands.test.Gradient
The Gradient script evaluates the consistency of the energy and gradient.
Usage:
ffxc test.Gradient [options] <filename>
Usage:
ffxc test.Gradient [options] <filename>
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble-d or --dx Finite-difference step size.--params or --gradientAtoms Ranges of degrees of freedom to test [ALL, NONE, Range(s): 1-3,6-N].intdouble--tol or --tolerance Gradient error tolerance.Fields inherited from class ffx.algorithms.cli.AlgorithmsCommand
activeAssembly, algorithmFunctions, algorithmListener, baseDirFields inherited from class ffx.utilities.FFXCommand
args, binding, color, help, logger, parseResult, version -
Constructor Summary
ConstructorsConstructorDescriptionGradient()Gradient constructor.Gradient(FFXBinding binding) Gradient constructor.Gradient constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns a List of all Potential objects associated with this script.run()Execute the script.Methods inherited from class ffx.algorithms.cli.AlgorithmsCommand
destroyPotentials, getActiveAssemblies, getActiveAssembly, getPotentialsFromAssemblies, init, saveDirFile, setBaseDir, updateTitleMethods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Field Details
-
dx
public double dx-d or --dx Finite-difference step size. -
tolerance
public double tolerance--tol or --tolerance Gradient error tolerance. -
gradientParams
--params or --gradientAtoms Ranges of degrees of freedom to test [ALL, NONE, Range(s): 1-3,6-N]. -
nFailures
public int nFailures
-
-
Constructor Details
-
Gradient
public Gradient()Gradient constructor. -
Gradient
Gradient constructor.- Parameters:
binding- The Binding to use.
-
Gradient
Gradient constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
-
Method Details
-
run
Execute the script.- Overrides:
runin classFFXCommand- Returns:
- The current FFXCommand.
-
getPotentials
Description copied from class:AlgorithmsCommandReturns a List of all Potential objects associated with this script.- Overrides:
getPotentialsin classAlgorithmsCommand- Returns:
- All Potentials. Sometimes empty, never null.
-