Package ffx.potential.commands
Class Frac2Cart
java.lang.Object
ffx.utilities.FFXCommand
ffx.potential.cli.PotentialCommand
ffx.potential.commands.Frac2Cart
Convert from fractional to Cartesian coordinates.
Usage:
ffxc Frac2Cart <filename>
-
Field Summary
Fields inherited from class ffx.potential.cli.PotentialCommand
activeAssembly, baseDir, potentialFunctions
Fields inherited from class ffx.utilities.FFXCommand
args, binding, color, help, logger, parseResult, version
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ffx.potential.cli.PotentialCommand
destroyPotentials, getActiveAssemblies, getActiveAssembly, getBaseDirString, init, setActiveAssembly
Methods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Constructor Details
-
Frac2Cart
public Frac2Cart() -
Frac2Cart
-
Frac2Cart
-
-
Method Details
-
getCart
public double[][] getCart()Return Cartesian Coordinate output. -
getFrac
public double[][] getFrac()Return Fractional Coordinate input. -
run
Description copied from class:FFXCommand
Execute this Command.- Overrides:
run
in classFFXCommand
- Returns:
- The current FFXCommand.
-
getPotentials
Description copied from class:PotentialCommand
Returns a List of all Potential objects associated with this script. Should be written to tolerate nulls, as many tests run help() and exit without instantiating their Potentials.- Overrides:
getPotentials
in classPotentialCommand
- Returns:
- All Potentials. Sometimes empty, never null.
-