Class SimulationUpdate

java.lang.Object
ffx.ui.commands.SimulationUpdate
All Implemented Interfaces:
Serializable

public class SimulationUpdate extends Object implements Serializable
The SimulationUpdate class is a serializable wrapper for FFX simulation data that changes during a simulation.
Author:
Michael J. Schnieders
See Also:
  • Field Details

    • NONE

      public static int NONE
      Constant NONE=0
    • SIMULATION

      public static int SIMULATION
      Constant SIMULATION=1
    • OPTIMIZATION

      public static int OPTIMIZATION
      Constant OPTIMIZATION=2
    • read

      public boolean read
    • type

      public int type
    • numatoms

      public int numatoms
    • coordinates

      public double[][] coordinates
    • time

      public double time
    • temperature

      public double temperature
    • energy

      public double energy
    • potential

      public double potential
    • kinetic

      public double kinetic
    • intermolecular

      public double intermolecular
    • pressure

      public double pressure
    • density

      public double density
    • velocity

      public double[][] velocity
    • acceleration

      public double[][] acceleration
    • step

      public int step
    • gradients

      public double[][] gradients
    • amoeba

      public boolean amoeba
    • induced

      public double[][] induced
  • Constructor Details

    • SimulationUpdate

      public SimulationUpdate(int n, int t, boolean a)
      Constructor for SimulationUpdate.
      Parameters:
      n - a int.
      t - a int.
      a - a boolean.
  • Method Details

    • isNewer

      public boolean isNewer(SimulationMessage message)
      isNewer
      Parameters:
      message - a SimulationMessage object.
      Returns:
      a boolean.
    • print

      public void print()
      print