OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::SimSnapshotManager Class Reference

"brains/SimSnapshotManager.hpp" More...

#include <SimSnapshotManager.hpp>

+ Inheritance diagram for OpenMD::SimSnapshotManager:

Public Member Functions

 SimSnapshotManager (SimInfo *info, int atomStorageLayout=0, int rigidBodyStorageLayout=0, int cutoffGroupStorageLayout=0)
 
virtual bool advance ()
 
virtual bool resetToPrevious ()
 
virtual SnapshotgetSnapshot (int id)
 
virtual int getCapacity ()
 
virtual void setCapacity (int)
 
- Public Member Functions inherited from OpenMD::SnapshotManager
SnapshotgetPrevSnapshot ()
 Returns the pointer of previous snapshot.
 
SnapshotgetCurrentSnapshot ()
 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
SnapshotcurrentSnapshot_
 
SnapshotpreviousSnapshot_
 

Detailed Description

"brains/SimSnapshotManager.hpp"

SimSnapshotManager class is the concrete snapshot manager for actual simulation SimSnapshotManager only maintains two snapshots.

See also
PropSimSnapshotManager

Definition at line 69 of file SimSnapshotManager.hpp.

Constructor & Destructor Documentation

◆ SimSnapshotManager()

OpenMD::SimSnapshotManager::SimSnapshotManager ( SimInfo * info,
int atomStorageLayout = 0,
int rigidBodyStorageLayout = 0,
int cutoffGroupStorageLayout = 0 )

Definition at line 52 of file SimSnapshotManager.cpp.

◆ ~SimSnapshotManager()

OpenMD::SimSnapshotManager::~SimSnapshotManager ( )

Definition at line 72 of file SimSnapshotManager.cpp.

Member Function Documentation

◆ advance()

bool OpenMD::SimSnapshotManager::advance ( )
virtual

Reimplemented from OpenMD::SnapshotManager.

Definition at line 79 of file SimSnapshotManager.cpp.

◆ getCapacity()

int OpenMD::SimSnapshotManager::getCapacity ( )
virtual

Definition at line 103 of file SimSnapshotManager.cpp.

◆ getSnapshot()

Snapshot * OpenMD::SimSnapshotManager::getSnapshot ( int id)
virtual

Implements OpenMD::SnapshotManager.

Definition at line 93 of file SimSnapshotManager.cpp.

◆ resetToPrevious()

bool OpenMD::SimSnapshotManager::resetToPrevious ( )
virtual

Reimplemented from OpenMD::SnapshotManager.

Definition at line 86 of file SimSnapshotManager.cpp.

◆ setCapacity()

void OpenMD::SimSnapshotManager::setCapacity ( int )
virtual

Definition at line 105 of file SimSnapshotManager.cpp.


The documentation for this class was generated from the following files: