Package ffx.xray.commands
Class Dynamics
java.lang.Object
ffx.utilities.FFXCommand
ffx.algorithms.cli.AlgorithmsCommand
ffx.xray.commands.Dynamics
- All Implemented Interfaces:
AlgorithmListener
The X-ray Dynamics script.
Usage:
ffxc xray.Dynamics [options] <filename>
Usage:
ffxc xray.Dynamics [options] <filename>
-
Field Summary
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
ConstructorsConstructorDescriptionDynamics()Dynamics constructor.Dynamics(FFXBinding binding) Dynamics constructor.Dynamics constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptionbooleanalgorithmUpdate(MolecularAssembly active) After a successful step or interval of an algorithm, this method of the listener will be called.booleanReclaims resources associated with all Potential objects associated with this script.Returns a List of all Potential objects associated with this script.run()Execute this Command.Methods inherited from class ffx.algorithms.cli.AlgorithmsCommand
getActiveAssemblies, getActiveAssembly, getPotentialsFromAssemblies, init, saveDirFile, setBaseDir, updateTitleMethods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Constructor Details
-
Dynamics
public Dynamics()Dynamics constructor. -
Dynamics
Dynamics constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
Dynamics
Dynamics constructor.- Parameters:
binding- The Binding to use.
-
-
Method Details
-
run
Description copied from class:FFXCommandExecute this Command.- 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.
-
destroyPotentials
public boolean destroyPotentials()Description copied from class:AlgorithmsCommandReclaims resources associated with all Potential objects associated with this script.- Overrides:
destroyPotentialsin classAlgorithmsCommand- Returns:
- If all Potentials had resources reclaimed.
-
algorithmUpdate
Description copied from interface:AlgorithmListenerAfter a successful step or interval of an algorithm, this method of the listener will be called.- Specified by:
algorithmUpdatein interfaceAlgorithmListener- Parameters:
active- The system the algorithm is operating on.- Returns:
- A return of
trueindicates the algorithm continues.
-