Package ffx.potential.commands
Class Energy
java.lang.Object
ffx.utilities.FFXCommand
ffx.potential.cli.PotentialCommand
ffx.potential.commands.Energy
Compute the force field potential energy.
Usage:
ffxc Energy <filename>
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns a List of all Potential objects associated with this command.run()Execute this Command.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
-
energy
public double energy -
forceFieldEnergy
-
-
Constructor Details
-
Energy
public Energy() -
Energy
-
Energy
-
-
Method Details
-
run
Description copied from class:FFXCommandExecute this Command.- 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.
-
getForceFieldEnergy
-
getEnergy
public double getEnergy()
-