1 #ifndef OPENMM_MONTECARLOMEMBRANEBAROSTATIMPL_H_
2 #define OPENMM_MONTECARLOMEMBRANEBAROSTATIMPL_H_
35 #include "ForceImpl.h"
36 #include "openmm/MonteCarloMembraneBarostat.h"
37 #include "openmm/Kernel.h"
38 #include "sfmt/SFMT.h"
63 int step, numAttempted[3], numAccepted[3];
64 double volumeScale[3];
65 OpenMM_SFMT::SFMT random;
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
std::vector< std::string > getKernelNames()
Get the names of all Kernels used by this Force.
This is a Monte Carlo barostat designed specifically for membrane simulations.
Definition: MonteCarloMembraneBarostat.h:65
void updateContextState(ContextImpl &context)
This method is called at the beginning of each time step.
MonteCarloMembraneBarostatImpl(const MonteCarloMembraneBarostat &owner)
double calcForcesAndEnergy(ContextImpl &context, bool includeForces, bool includeEnergy, int groups)
Calculate the force on each particle generated by this ForceImpl and/or this ForceImpl's contribution...
Definition: MonteCarloMembraneBarostatImpl.h:55
const MonteCarloMembraneBarostat & getOwner() const
Get the Force object from which this ForceImpl was created.
Definition: MonteCarloMembraneBarostatImpl.h:51
void initialize(ContextImpl &context)
This is called after the ForceImpl is created and before updateContextState(), calcForces(), or calcEnergy() is called on it.
This is the internal implementation of MonteCarloMembraneBarostat.
Definition: MonteCarloMembraneBarostatImpl.h:47
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
std::map< std::string, double > getDefaultParameters()
Get a map containing the default values for all adjustable parameters defined by this ForceImpl...
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57