1 #ifndef OPENMM_MONTECARLOANISOTROPICBAROSTAT_H_ 
    2 #define OPENMM_MONTECARLOANISOTROPICBAROSTAT_H_ 
   38 #include "internal/windowsExport.h" 
   65         static const std::string key = 
"MonteCarloPressureX";
 
   73         static const std::string key = 
"MonteCarloPressureY";
 
   81         static const std::string key = 
"MonteCarloPressureZ";
 
  101         return defaultPressure;
 
  110         defaultPressure = pressure;
 
  162         return randomNumberSeed;
 
  176         randomNumberSeed = seed;
 
  188     ForceImpl* createImpl() 
const;
 
  190     Vec3 defaultPressure;
 
  192     bool scaleX, scaleY, scaleZ;
 
  193     int frequency, randomNumberSeed;
 
void setTemperature(double temp)
Set the temperature at which the system is being maintained. 
Definition: MonteCarloAnisotropicBarostat.h:155
bool getScaleY() const 
Get whether to allow the Y dimension of the periodic box to change size. 
Definition: MonteCarloAnisotropicBarostat.h:121
This class uses a Monte Carlo algorithm to adjust the size of the periodic box, simulating the effect...
Definition: MonteCarloAnisotropicBarostat.h:58
const Vec3 & getDefaultPressure() const 
Get the default pressure (in bar). 
Definition: MonteCarloAnisotropicBarostat.h:100
static const std::string & PressureZ()
This is the name of the parameter which stores the current pressure acting on the Z-axis (in bar)...
Definition: MonteCarloAnisotropicBarostat.h:80
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
bool usesPeriodicBoundaryConditions() const 
Returns whether or not this force makes use of periodic boundary conditions. 
Definition: MonteCarloAnisotropicBarostat.h:184
void setDefaultPressure(const Vec3 &pressure)
Set the default pressure acting on the system. 
Definition: MonteCarloAnisotropicBarostat.h:109
bool getScaleX() const 
Get whether to allow the X dimension of the periodic box to change size. 
Definition: MonteCarloAnisotropicBarostat.h:115
This class represents a three component vector. 
Definition: Vec3.h:45
double getTemperature() const 
Get the temperature at which the system is being maintained, measured in Kelvin. 
Definition: MonteCarloAnisotropicBarostat.h:147
void setFrequency(int freq)
Set the frequency (in time steps) at which Monte Carlo pressure changes should be attempted...
Definition: MonteCarloAnisotropicBarostat.h:141
static const std::string & PressureX()
This is the name of the parameter which stores the current pressure acting on the X-axis (in bar)...
Definition: MonteCarloAnisotropicBarostat.h:64
static const std::string & PressureY()
This is the name of the parameter which stores the current pressure acting on the Y-axis (in bar)...
Definition: MonteCarloAnisotropicBarostat.h:72
int getRandomNumberSeed() const 
Get the random number seed. 
Definition: MonteCarloAnisotropicBarostat.h:161
void setRandomNumberSeed(int seed)
Set the random number seed. 
Definition: MonteCarloAnisotropicBarostat.h:175
bool getScaleZ() const 
Get whether to allow the Z dimension of the periodic box to change size. 
Definition: MonteCarloAnisotropicBarostat.h:127
Definition: AndersenThermostat.h:40
int getFrequency() const 
Get the frequency (in time steps) at which Monte Carlo pressure changes should be attempted...
Definition: MonteCarloAnisotropicBarostat.h:134