|
OpenMD 3.1
Molecular Dynamics in the Open
|
#include <BlockSnapshotManager.hpp>
Inheritance diagram for OpenMD::BlockSnapshotManager:Public Member Functions | |
| BlockSnapshotManager (SimInfo *info, const std::string &filename, int atomStorageLayout, int rigidBodyStorageLayout, int cutoffGroupStorageLayout, long long int memSize, int blockCapacity=2) | |
| virtual Snapshot * | getSnapshot (int id) |
| size_t | getNBlocks () |
| Returns number of snapshot blocks in this BlockSnapshotManager. | |
| SnapshotBlock | getSnapshotBlock (int block) |
| int | getNActiveBlocks () |
| void | needCOMprops (bool ncp) |
| bool | isBlockActive (int block) |
| bool | loadBlock (int block) |
| bool | unloadBlock (int block) |
| std::vector< int > | getActiveBlocks () |
| int | getBlockCapacity () |
| int | getNFrames () |
Public Member Functions inherited from OpenMD::SnapshotManager | |
| virtual bool | advance () |
| virtual bool | resetToPrevious () |
| 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_ |
Definition at line 63 of file BlockSnapshotManager.hpp.
| OpenMD::BlockSnapshotManager::BlockSnapshotManager | ( | SimInfo * | info, |
| const std::string & | filename, | ||
| int | atomStorageLayout, | ||
| int | rigidBodyStorageLayout, | ||
| int | cutoffGroupStorageLayout, | ||
| long long int | memSize, | ||
| int | blockCapacity = 2 ) |
Definition at line 57 of file BlockSnapshotManager.cpp.
| OpenMD::BlockSnapshotManager::~BlockSnapshotManager | ( | ) |
Definition at line 146 of file BlockSnapshotManager.cpp.
| std::vector< int > OpenMD::BlockSnapshotManager::getActiveBlocks | ( | ) |
Definition at line 257 of file BlockSnapshotManager.cpp.
|
inline |
Definition at line 92 of file BlockSnapshotManager.hpp.
| int OpenMD::BlockSnapshotManager::getNActiveBlocks | ( | ) |
Definition at line 163 of file BlockSnapshotManager.cpp.
|
inline |
Returns number of snapshot blocks in this BlockSnapshotManager.
Definition at line 74 of file BlockSnapshotManager.hpp.
| int OpenMD::BlockSnapshotManager::getNFrames | ( | ) |
Definition at line 278 of file BlockSnapshotManager.cpp.
|
virtual |
Implements OpenMD::SnapshotManager.
Definition at line 158 of file BlockSnapshotManager.cpp.
|
inline |
Definition at line 76 of file BlockSnapshotManager.hpp.
|
inline |
Definition at line 82 of file BlockSnapshotManager.hpp.
| bool OpenMD::BlockSnapshotManager::loadBlock | ( | int | block | ) |
Definition at line 168 of file BlockSnapshotManager.cpp.
| void OpenMD::BlockSnapshotManager::needCOMprops | ( | bool | ncp | ) |
Definition at line 280 of file BlockSnapshotManager.cpp.
| bool OpenMD::BlockSnapshotManager::unloadBlock | ( | int | block | ) |
Definition at line 196 of file BlockSnapshotManager.cpp.