OpenMD 3.1
Molecular Dynamics in the Open
|
SnapshotManager class is an abstract class which maintains a series of snapshots. More...
#include "brains/SnapshotManager.hpp"
Public Member Functions | |
virtual bool | advance () |
virtual bool | resetToPrevious () |
virtual Snapshot * | getSnapshot (int id)=0 |
Snapshot * | getPrevSnapshot () |
Returns the pointer of previous snapshot. | |
Snapshot * | getCurrentSnapshot () |
Returns the pointer of current snapshot. | |
int | getAtomStorageLayout () |
int | getRigidBodyStorageLayout () |
int | getCutoffGroupStorageLayout () |
Protected Member Functions | |
SnapshotManager (int atomStorageLayout, int rigidBodyStorageLayout, int cutoffGroupStorageLayout) | |
Protected Attributes | |
Snapshot * | currentSnapshot_ |
Snapshot * | previousSnapshot_ |
SnapshotManager class is an abstract class which maintains a series of snapshots.
Definition at line 67 of file SnapshotManager.hpp.
|
inlinevirtual |
Definition at line 69 of file SnapshotManager.hpp.
|
inlineprotected |
Definition at line 101 of file SnapshotManager.hpp.
|
inlinevirtual |
Definition at line 74 of file SnapshotManager.hpp.
|
inline |
Definition at line 91 of file SnapshotManager.hpp.
|
inline |
Returns the pointer of current snapshot.
Definition at line 89 of file SnapshotManager.hpp.
Referenced by OpenMD::StuntDouble::addDensity(), OpenMD::StuntDouble::addElectricField(), OpenMD::StuntDouble::addFlucQFrc(), OpenMD::StuntDouble::addFlucQPos(), OpenMD::StuntDouble::addFlucQVel(), OpenMD::StuntDouble::addFrc(), OpenMD::StuntDouble::addParticlePot(), OpenMD::StuntDouble::addSitePotential(), OpenMD::StuntDouble::addTrq(), OpenMD::Bend::calcForce(), OpenMD::GhostBend::calcForce(), OpenMD::ForceMatrixDecomposition::distributeInitialData(), OpenMD::StuntDouble::getA(), OpenMD::Thermo::getAngularMomentum(), OpenMD::Thermo::getBoundingBox(), OpenMD::StuntDouble::getCOM(), OpenMD::Thermo::getCom(), OpenMD::Thermo::getComAll(), OpenMD::StuntDouble::getCOMvel(), OpenMD::Thermo::getComVel(), OpenMD::StuntDouble::getCOMw(), OpenMD::StuntDouble::getDensity(), OpenMD::StuntDouble::getDipole(), OpenMD::StuntDouble::getElectricField(), OpenMD::StuntDouble::getEuler(), OpenMD::StuntDouble::getFlucQFrc(), OpenMD::StuntDouble::getFlucQPos(), OpenMD::StuntDouble::getFlucQVel(), OpenMD::StuntDouble::getFrc(), OpenMD::Thermo::getGyrationalVolume(), OpenMD::Thermo::getGyrationalVolume(), OpenMD::Thermo::getInertiaTensor(), OpenMD::StuntDouble::getJ(), OpenMD::StuntDouble::getParticlePot(), OpenMD::StuntDouble::getPos(), OpenMD::Thermo::getPressureTensor(), OpenMD::StuntDouble::getQ(), OpenMD::StuntDouble::getQuadrupole(), OpenMD::StuntDouble::getSitePotential(), OpenMD::Thermo::getSystemDipole(), OpenMD::Thermo::getSystemQuadrupole(), OpenMD::StuntDouble::getTrq(), OpenMD::StuntDouble::getVel(), OpenMD::PotDiff::process(), OpenMD::StuntDouble::setA(), OpenMD::StuntDouble::setDensity(), OpenMD::StuntDouble::setElectricField(), OpenMD::StuntDouble::setEuler(), OpenMD::StuntDouble::setFlucQFrc(), OpenMD::StuntDouble::setFlucQPos(), OpenMD::StuntDouble::setFlucQVel(), OpenMD::StuntDouble::setFrc(), OpenMD::StuntDouble::setJ(), OpenMD::StuntDouble::setParticlePot(), OpenMD::StuntDouble::setPos(), OpenMD::StuntDouble::setSitePotential(), OpenMD::StuntDouble::setTrq(), OpenMD::StuntDouble::setVel(), and OpenMD::ZConsVisitor::ZConsVisitor().
|
inline |
Definition at line 93 of file SnapshotManager.hpp.
|
inline |
Returns the pointer of previous snapshot.
Definition at line 83 of file SnapshotManager.hpp.
Referenced by OpenMD::StuntDouble::addPrevDensity(), OpenMD::StuntDouble::addPrevElectricField(), OpenMD::StuntDouble::addPrevFlucQFrc(), OpenMD::StuntDouble::addPrevFlucQPos(), OpenMD::StuntDouble::addPrevFlucQVel(), OpenMD::StuntDouble::addPrevFrc(), OpenMD::StuntDouble::addPrevParticlePot(), OpenMD::StuntDouble::addPrevSitePotential(), OpenMD::StuntDouble::addPrevTrq(), OpenMD::StuntDouble::getPrevA(), OpenMD::StuntDouble::getPrevDensity(), OpenMD::StuntDouble::getPrevDipole(), OpenMD::StuntDouble::getPrevElectricField(), OpenMD::StuntDouble::getPrevEuler(), OpenMD::StuntDouble::getPrevFlucQFrc(), OpenMD::StuntDouble::getPrevFlucQPos(), OpenMD::StuntDouble::getPrevFlucQVel(), OpenMD::StuntDouble::getPrevFrc(), OpenMD::StuntDouble::getPrevJ(), OpenMD::StuntDouble::getPrevParticlePot(), OpenMD::StuntDouble::getPrevPos(), OpenMD::StuntDouble::getPrevQ(), OpenMD::StuntDouble::getPrevQuadrupole(), OpenMD::StuntDouble::getPrevSitePotential(), OpenMD::StuntDouble::getPrevTrq(), OpenMD::StuntDouble::getPrevVel(), OpenMD::StuntDouble::setPrevA(), OpenMD::StuntDouble::setPrevDensity(), OpenMD::StuntDouble::setPrevElectricField(), OpenMD::StuntDouble::setPrevEuler(), OpenMD::StuntDouble::setPrevFlucQFrc(), OpenMD::StuntDouble::setPrevFlucQPos(), OpenMD::StuntDouble::setPrevFlucQVel(), OpenMD::StuntDouble::setPrevFrc(), OpenMD::StuntDouble::setPrevJ(), OpenMD::StuntDouble::setPrevParticlePot(), OpenMD::StuntDouble::setPrevPos(), OpenMD::StuntDouble::setPrevSitePotential(), OpenMD::StuntDouble::setPrevTrq(), and OpenMD::StuntDouble::setPrevVel().
|
inline |
Definition at line 92 of file SnapshotManager.hpp.
|
inlinevirtual |
Definition at line 75 of file SnapshotManager.hpp.
|
protected |
Definition at line 108 of file SnapshotManager.hpp.
|
protected |
Definition at line 109 of file SnapshotManager.hpp.