Package ffx.potential.commands.test
Class Gradient
java.lang.Object
ffx.utilities.FFXCommand
ffx.potential.cli.PotentialCommand
ffx.potential.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
FieldsFields inherited from class ffx.potential.cli.PotentialCommand
activeAssembly, baseDir, potentialFunctions
Fields 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.potential.cli.PotentialCommand
destroyPotentials, getActiveAssemblies, getActiveAssembly, getBaseDirString, init, setActiveAssembly
Methods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Field Details
-
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:
run
in classFFXCommand
- Returns:
- The current FFXCommand.
-
getPotentials
Description copied from class:PotentialCommand
Returns a List of all Potential objects associated with this script. Should be written to tolerate nulls, as many tests run help() and exit without instantiating their Potentials.- Overrides:
getPotentials
in classPotentialCommand
- Returns:
- All Potentials. Sometimes empty, never null.
-