Package ffx.openmm
Class MonteCarloBarostat
java.lang.Object
ffx.openmm.Force
ffx.openmm.MonteCarloBarostat
Monte Carlo Barostat.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMonteCarloBarostat
(double pressure, double temperature, int frequency) OpenMM MonteCarloBarostat constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroy the force.double
Get the default pressure.double
Get the default temperature.int
Get the frequency.int
Get the random number seed.void
setDefaultPressure
(double pressure) Set the default pressure.void
setDefaultTemperature
(double temperature) Set the default temperature.void
setFrequency
(int frequency) Set the frequency.void
setRandomNumberSeed
(int seed) Set the random number seed.boolean
Does the force use periodic boundary conditions?Methods inherited from class ffx.openmm.Force
getForceGroup, getForceIndex, getName, getPointer, setForceGroup, setForceIndex, setName
-
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 classForce
- Returns:
- True if the force uses periodic boundary conditions.
-
destroy
public void destroy()Destroy the force.
-