OpenMD 3.1
Molecular Dynamics in the Open
|
"brains/SimSnapshotManager.hpp" More...
#include <SimSnapshotManager.hpp>
Public Member Functions | |
SimSnapshotManager (SimInfo *info, int atomStorageLayout=0, int rigidBodyStorageLayout=0, int cutoffGroupStorageLayout=0) | |
virtual bool | advance () |
virtual bool | resetToPrevious () |
virtual Snapshot * | getSnapshot (int id) |
virtual int | getCapacity () |
virtual void | setCapacity (int) |
Public Member Functions inherited from OpenMD::SnapshotManager | |
Snapshot * | getPrevSnapshot () |
Returns the pointer of previous snapshot. | |
Snapshot * | getCurrentSnapshot () |
Returns the pointer of current snapshot. | |
int | getAtomStorageLayout () |
int | getRigidBodyStorageLayout () |
int | getCutoffGroupStorageLayout () |
Additional Inherited Members | |
Protected Member Functions inherited from OpenMD::SnapshotManager | |
SnapshotManager (int atomStorageLayout, int rigidBodyStorageLayout, int cutoffGroupStorageLayout) | |
Protected Attributes inherited from OpenMD::SnapshotManager | |
Snapshot * | currentSnapshot_ |
Snapshot * | previousSnapshot_ |
"brains/SimSnapshotManager.hpp"
SimSnapshotManager class is the concrete snapshot manager for actual simulation SimSnapshotManager only maintains two snapshots.
Definition at line 69 of file SimSnapshotManager.hpp.
OpenMD::SimSnapshotManager::SimSnapshotManager | ( | SimInfo * | info, |
int | atomStorageLayout = 0, | ||
int | rigidBodyStorageLayout = 0, | ||
int | cutoffGroupStorageLayout = 0 ) |
Definition at line 52 of file SimSnapshotManager.cpp.
OpenMD::SimSnapshotManager::~SimSnapshotManager | ( | ) |
Definition at line 72 of file SimSnapshotManager.cpp.
|
virtual |
Reimplemented from OpenMD::SnapshotManager.
Definition at line 79 of file SimSnapshotManager.cpp.
|
virtual |
Definition at line 103 of file SimSnapshotManager.cpp.
|
virtual |
Implements OpenMD::SnapshotManager.
Definition at line 93 of file SimSnapshotManager.cpp.
|
virtual |
Reimplemented from OpenMD::SnapshotManager.
Definition at line 86 of file SimSnapshotManager.cpp.
|
virtual |
Definition at line 105 of file SimSnapshotManager.cpp.