Package ffx.algorithms.commands
Class GenZ
java.lang.Object
ffx.utilities.FFXCommand
ffx.algorithms.cli.AlgorithmsCommand
ffx.algorithms.commands.GenZ
The ReductionPartition script performs a discrete optimization using a many-body expansion and elimination expressions.
Usage:
ffxc ManyBody [options] <filename>
Usage:
ffxc ManyBody [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
ConstructorsConstructorDescriptionGenZ()ManyBody Constructor.GenZ(FFXBinding binding) ManyBody Constructor.GenZ constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]The population for each rotamer of each residue.Returns the potential energy of the active assembly.run()Execute this Command.Methods inherited from class ffx.algorithms.cli.AlgorithmsCommand
destroyPotentials, getActiveAssemblies, getActiveAssembly, getPotentials, getPotentialsFromAssemblies, init, saveDirFile, setBaseDir, updateTitleMethods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Constructor Details
-
GenZ
public GenZ()ManyBody Constructor. -
GenZ
ManyBody Constructor.- Parameters:
binding- The Binding to use.
-
GenZ
GenZ constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
-
Method Details
-
run
Execute this Command.- Overrides:
runin classFFXCommand- Returns:
- The current FFXCommand.
-
getPopulationArray
public double[][] getPopulationArray()The population for each rotamer of each residue.- Returns:
- The population array.
-
getPotential
Returns the potential energy of the active assembly. Used during testing assertions.- Returns:
- potentialEnergy Potential energy of the active assembly.
-