Element implementing the Parrinello-Rahman barostat.
This element
- integrates the Parrinello-Rahman box velocity equations,
- takes a callback to the propagator to update the velocity scaling factor, and
- scales the box and the positions of the system.
|
|
| ParrinelloRahmanBarostat (int nstpcouple, int offset, real couplingTimePeriod, Step initStep, StatePropagatorData *statePropagatorData, EnergyData *energyData, const MDLogger &mdlog, const t_inputrec *inputrec, const MDAtoms *mdAtoms) |
| | Constructor.
|
| |
| void | scheduleTask (Step step, Time time, const RegisterRunFunction ®isterRunFunction) override |
| | Register run function for step / time. More...
|
| |
|
void | elementSetup () override |
| | Fix relative box shape.
|
| |
|
void | elementTeardown () override |
| | No element teardown needed.
|
| |
|
const rvec * | boxVelocities () const |
| | Getter for the box velocities.
|
| |
|
void | connectWithMatchingPropagator (const PropagatorConnection &connectionData, const PropagatorTag &propagatorTag) |
| | Connect this to propagator.
|
| |
|
void | saveCheckpointState (std::optional< WriteCheckpointData > checkpointData, const MpiComm &mpiComm, gmx_domdec_t *dd) override |
| | ICheckpointHelperClient write checkpoint implementation.
|
| |
|
void | restoreCheckpointState (std::optional< ReadCheckpointData > checkpointData, const MpiComm &mpiComm, gmx_domdec_t *dd) override |
| | ICheckpointHelperClient read checkpoint implementation.
|
| |
|
const std::string & | clientID () override |
| | ICheckpointHelperClient key implementation.
|
| |
|
virtual | ~ISimulatorElement ()=default |
| | Standard virtual destructor.
|
| |
|
virtual | ~ICheckpointHelperClient ()=default |
| | Standard virtual destructor.
|
| |
|
virtual | ~IEnergySignallerClient ()=default |
| | Standard virtual destructor.
|
| |