Class MoveIntoUnitCell


public class MoveIntoUnitCell extends PotentialCommand
Move the center of mass of each molecule into the unit cell. Usage: ffxc MoveIntoUnitCell <filename>
  • Field Details

    • molecularAssemblies

      protected MolecularAssembly[] molecularAssemblies
      Save a reference to the MolecularAssembly instances to destroy their potentials.
    • origCoordinates

      public double[][] origCoordinates
      Original Cartesian coordinates before moving into the unit cell.
    • unitCellCoordinates

      public double[][] unitCellCoordinates
      Cartesian coordinates after moving into the unit cell.
  • Constructor Details

    • MoveIntoUnitCell

      public MoveIntoUnitCell()
    • MoveIntoUnitCell

      public MoveIntoUnitCell(FFXBinding binding)
    • MoveIntoUnitCell

      public MoveIntoUnitCell(String[] args)
  • Method Details

    • run

      public MoveIntoUnitCell run()
      Description copied from class: FFXCommand
      Execute this Command.
      Overrides:
      run in class FFXCommand
      Returns:
      The current FFXCommand.
    • getPotentials

      public List<Potential> 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 class PotentialCommand
      Returns:
      All Potentials. Sometimes empty, never null.