Class ManyBody


public class ManyBody extends AlgorithmsCommand
The ManyBody script performs a discrete optimization using a many-body expansion and elimination expressions.
Usage:
ffxc ManyBody [options] <filename>
  • Constructor Details

    • ManyBody

      public ManyBody()
      ManyBody Constructor.
    • ManyBody

      public ManyBody(FFXBinding binding)
      ManyBody Constructor.
      Parameters:
      binding - The Binding to use.
    • ManyBody

      public ManyBody(String[] args)
      ManyBody constructor that sets the command line arguments.
      Parameters:
      args - Command line arguments.
  • Method Details

    • run

      public ManyBody run()
      Execute this Command.
      Overrides:
      run in class FFXCommand
      Returns:
      The current FFXCommand.
    • getManyBodyOptions

      public ManyBodyOptions getManyBodyOptions()
      Get ManyBodyOptions to access script parameters.
    • getPotential

      public ForceFieldEnergy getPotential()
      Returns the potential energy of the active assembly. Used during testing assertions.
      Returns:
      potentialEnergy Potential energy of the active assembly.
    • getPotentials

      public List<Potential> getPotentials()
      Returns a List of all Potential objects associated with this script.
      Overrides:
      getPotentials in class AlgorithmsCommand
      Returns:
      All Potentials. Sometimes empty, never null.