1 #ifndef OPENMM_MONTECARLOMEMBRANEBAROSTAT_H_
2 #define OPENMM_MONTECARLOMEMBRANEBAROSTAT_H_
37 #include "internal/windowsExport.h"
103 static const std::string key =
"MembraneMonteCarloPressure";
111 static const std::string key =
"MembraneMonteCarloSurfaceTension";
124 MonteCarloMembraneBarostat(
double defaultPressure,
double defaultSurfaceTension,
double temperature, XYMode xymode, ZMode zmode,
int frequency = 25);
131 return defaultPressure;
140 defaultPressure = pressure;
148 return defaultSurfaceTension;
157 defaultSurfaceTension = surfaceTension;
215 return randomNumberSeed;
229 randomNumberSeed = seed;
241 ForceImpl* createImpl()
const;
243 double defaultPressure, defaultSurfaceTension, temperature;
246 int frequency, randomNumberSeed;
double getDefaultPressure() const
Get the default pressure acting on the system (in bar).
Definition: MonteCarloMembraneBarostat.h:130
This is a Monte Carlo barostat designed specifically for membrane simulations.
Definition: MonteCarloMembraneBarostat.h:65
void setZMode(ZMode mode)
Set the mode specifying the behavior of the Z axis.
Definition: MonteCarloMembraneBarostat.h:208
XYMode getXYMode() const
Get the mode specifying the behavior of the X and Y axes.
Definition: MonteCarloMembraneBarostat.h:190
XYMode
This is an enumeration of the different behaviors for the X and Y axes.
Definition: MonteCarloMembraneBarostat.h:70
bool usesPeriodicBoundaryConditions() const
Returns whether or not this force makes use of periodic boundary conditions.
Definition: MonteCarloMembraneBarostat.h:237
static const std::string & Pressure()
This is the name of the parameter which stores the current pressure acting on the system (in bar)...
Definition: MonteCarloMembraneBarostat.h:102
void setFrequency(int freq)
Set the frequency (in time steps) at which Monte Carlo volume changes should be attempted.
Definition: MonteCarloMembraneBarostat.h:170
void setDefaultSurfaceTension(double surfaceTension)
Set the default surface tension acting on the system.
Definition: MonteCarloMembraneBarostat.h:156
double getTemperature() const
Get the temperature at which the system is being maintained, measured in Kelvin.
Definition: MonteCarloMembraneBarostat.h:176
void setRandomNumberSeed(int seed)
Set the random number seed.
Definition: MonteCarloMembraneBarostat.h:228
int getRandomNumberSeed() const
Get the random number seed.
Definition: MonteCarloMembraneBarostat.h:214
int getFrequency() const
Get the frequency (in time steps) at which Monte Carlo volume changes should be attempted.
Definition: MonteCarloMembraneBarostat.h:163
Force objects apply forces to the particles in a System, or alter their behavior in other ways...
Definition: Force.h:65
void setDefaultPressure(double pressure)
Set the default pressure acting on the system.
Definition: MonteCarloMembraneBarostat.h:139
void setXYMode(XYMode mode)
Set the mode specifying the behavior of the X and Y axes.
Definition: MonteCarloMembraneBarostat.h:196
static const std::string & SurfaceTension()
This is the name of the parameter which stores the current surface tension acting on the system (in b...
Definition: MonteCarloMembraneBarostat.h:110
ZMode
This is an enumeration of the different behaviors for Z axis.
Definition: MonteCarloMembraneBarostat.h:83
Definition: AndersenThermostat.h:40
double getDefaultSurfaceTension() const
Get the default surface tension acting on the system (in bar*nm).
Definition: MonteCarloMembraneBarostat.h:147
ZMode getZMode() const
Get the mode specifying the behavior of the Z axis.
Definition: MonteCarloMembraneBarostat.h:202
void setTemperature(double temp)
Set the temperature at which the system is being maintained.
Definition: MonteCarloMembraneBarostat.h:184