Package ffx.potential.commands.test
Class PhGradient
java.lang.Object
ffx.utilities.FFXCommand
ffx.potential.cli.PotentialCommand
ffx.potential.commands.test.PhGradient
The Gradient script evaluates the consistency of the energy and gradient for CpHMD.
Usage:
ffxc test.PhGradient [options] <filename>
Usage:
ffxc test.PhGradient [options] <filename>
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleintintFields inherited from class ffx.potential.cli.PotentialCommand
activeAssembly, baseDir, potentialFunctionsFields inherited from class ffx.utilities.FFXCommand
args, binding, color, help, logger, parseResult, version -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PhGradient(FFXBinding binding) Constructor with Binding.PhGradient(String[] args) Constructor that sets command-line args. -
Method Summary
Modifier and TypeMethodDescriptionReturns a List of all Potential objects associated with this command.run()Execute the script.Methods inherited from class ffx.potential.cli.PotentialCommand
createOutputFile, destroyPotentials, getActiveAssemblies, getActiveAssembly, getActiveAssembly, getBaseDirString, getPotentialsFromAssemblies, init, parseFilePath, saveByExtension, saveByExtension, saveByOriginalExtension, saveByOriginalExtension, setActiveAssemblyMethods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Field Details
-
endstateEnergyMap
-
nFailures
public int nFailures -
nESVFailures
public int nESVFailures -
minEnergy
public double minEnergy -
minLambdaList
-
-
Constructor Details
-
PhGradient
public PhGradient()Default constructor. -
PhGradient
Constructor with Binding.- Parameters:
binding- Binding
-
PhGradient
Constructor that sets command-line args.- Parameters:
args- Args
-
-
Method Details
-
run
Execute the script.- Overrides:
runin classFFXCommand- Returns:
- The current FFXCommand.
-
getPotentials
Description copied from class:PotentialCommandReturns a List of all Potential objects associated with this command. Should be written to tolerate nulls, as many tests run help() and exit without instantiating their Potentials.- Overrides:
getPotentialsin classPotentialCommand- Returns:
- All Potentials. Sometimes empty, never null.
-