Package ffx.potential.commands.test
Class LambdaGradient
java.lang.Object
ffx.utilities.FFXCommand
ffx.potential.cli.PotentialCommand
ffx.potential.commands.test.LambdaGradient
The LambdaGradient script tests numeric gradients w.r.t. lambda against
numeric, finite-difference gradients
Usage:
ffxc test.LambdaGradient [options] <filename> [file2...]
Usage:
ffxc test.LambdaGradient [options] <filename> [file2...]
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoubleintintintintFields 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
ConstructorsConstructorDescriptionLambdaGradient ConstructorLambdaGradient(FFXBinding binding) LambdaGradient ConstructorLambdaGradient(String[] args) LambdaGradient constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns a List of all Potential objects associated with this command.run()Script run method.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
-
ndEdLFailures
public int ndEdLFailures -
ndEdXFailures
public int ndEdXFailures -
nd2EdL2Failures
public int nd2EdL2Failures -
ndEdXdLFailures
public int ndEdXdLFailures -
e0
public double e0 -
e1
public double e1
-
-
Constructor Details
-
LambdaGradient
public LambdaGradient()LambdaGradient Constructor -
LambdaGradient
LambdaGradient Constructor- Parameters:
binding- Binding to use.
-
LambdaGradient
LambdaGradient constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
-
Method Details
-
run
Script run method.- 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.
-