|
OpenMD 3.2
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 72 of file SimSnapshotManager.hpp.
| OpenMD::SimSnapshotManager::SimSnapshotManager | ( | SimInfo * | info, |
| int | atomStorageLayout = 0, | ||
| int | rigidBodyStorageLayout = 0, | ||
| int | cutoffGroupStorageLayout = 0 ) |
Definition at line 55 of file SimSnapshotManager.cpp.
| OpenMD::SimSnapshotManager::~SimSnapshotManager | ( | ) |
Definition at line 75 of file SimSnapshotManager.cpp.
|
virtual |
Reimplemented from OpenMD::SnapshotManager.
Definition at line 82 of file SimSnapshotManager.cpp.
|
virtual |
Definition at line 106 of file SimSnapshotManager.cpp.
|
virtual |
Implements OpenMD::SnapshotManager.
Definition at line 96 of file SimSnapshotManager.cpp.
|
virtual |
Reimplemented from OpenMD::SnapshotManager.
Definition at line 89 of file SimSnapshotManager.cpp.
|
virtual |
Definition at line 108 of file SimSnapshotManager.cpp.