Package ffx.openmm

Class MonteCarloBarostat

java.lang.Object
ffx.openmm.Force
ffx.openmm.MonteCarloBarostat

public class MonteCarloBarostat extends Force
Monte Carlo Barostat.
  • Constructor Details

    • MonteCarloBarostat

      public MonteCarloBarostat(double pressure, double temperature, int frequency)
      OpenMM MonteCarloBarostat constructor.
      Parameters:
      pressure - The pressure.
      temperature - The temperature.
      frequency - The frequency to apply the barostat.
  • Method Details

    • setRandomNumberSeed

      public void setRandomNumberSeed(int seed)
      Set the random number seed.
      Parameters:
      seed - The random number seed.
    • setFrequency

      public void setFrequency(int frequency)
      Set the frequency.
      Parameters:
      frequency - The frequency.
    • setDefaultTemperature

      public void setDefaultTemperature(double temperature)
      Set the default temperature.
      Parameters:
      temperature - The temperature.
    • setDefaultPressure

      public void setDefaultPressure(double pressure)
      Set the default pressure.
      Parameters:
      pressure - The pressure.
    • getDefaultPressure

      public double getDefaultPressure()
      Get the default pressure.
      Returns:
      The pressure.
    • getFrequency

      public int getFrequency()
      Get the frequency.
      Returns:
      The frequency.
    • getDefaultTemperature

      public double getDefaultTemperature()
      Get the default temperature.
      Returns:
      The temperature.
    • getRandomNumberSeed

      public int getRandomNumberSeed()
      Get the random number seed.
      Returns:
      The random number seed.
    • usesPeriodicBoundaryConditions

      public boolean usesPeriodicBoundaryConditions()
      Does the force use periodic boundary conditions?
      Overrides:
      usesPeriodicBoundaryConditions in class Force
      Returns:
      True if the force uses periodic boundary conditions.
    • destroy

      public void destroy()
      Destroy the force.