1 #ifndef OPENMM_RPMDMONTECARLOBAROSTAT_H_
2 #define OPENMM_RPMDMONTECARLOBAROSTAT_H_
35 #include "openmm/Force.h"
37 #include "internal/windowsExportRpmd.h"
55 static const std::string key =
"RPMDMonteCarloPressure";
71 return defaultPressure;
80 defaultPressure = pressure;
100 return randomNumberSeed;
114 randomNumberSeed = seed;
126 ForceImpl* createImpl()
const;
128 double defaultPressure;
129 int frequency, randomNumberSeed;
void setFrequency(int freq)
Set the frequency (in time steps) at which Monte Carlo pressure changes should be attempted...
Definition: RPMDMonteCarloBarostat.h:93
int getFrequency() const
Get the frequency (in time steps) at which Monte Carlo pressure changes should be attempted...
Definition: RPMDMonteCarloBarostat.h:86
bool usesPeriodicBoundaryConditions() const
Returns whether or not this force makes use of periodic boundary conditions.
Definition: RPMDMonteCarloBarostat.h:122
double getDefaultPressure() const
Get the default pressure acting on the system (in bar).
Definition: RPMDMonteCarloBarostat.h:70
void setDefaultPressure(double pressure)
Set the default pressure acting on the system.
Definition: RPMDMonteCarloBarostat.h:79
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
void setRandomNumberSeed(int seed)
Set the random number seed.
Definition: RPMDMonteCarloBarostat.h:113
static const std::string & Pressure()
This is the name of the parameter which stores the current pressure acting on the system (in bar)...
Definition: RPMDMonteCarloBarostat.h:54
This class is very similar to MonteCarloBarostat, but it is specifically designed for use with RPMDIn...
Definition: RPMDMonteCarloBarostat.h:48
Definition: AndersenThermostat.h:40
int getRandomNumberSeed() const
Get the random number seed.
Definition: RPMDMonteCarloBarostat.h:99