OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CutoffGroup Class Reference

Public Member Functions

void setSnapshotManager (SnapshotManager *sman)
 Sets the Snapshot Manager of this cutoffGroup.
void addAtom (Atom *atom)
AtombeginAtom (std::vector< Atom * >::iterator &i)
AtomnextAtom (std::vector< Atom * >::iterator &i)
std::vector< Atom * > getAtoms ()
RealType getMass ()
void updateCOM ()
Vector3d getPos ()
Vector3d getVel ()
size_t getNumAtom ()
int getGlobalIndex ()
void setGlobalIndex (int id)
int getLocalIndex ()
 Returns the local index of this cutoffGroup.
void setLocalIndex (int index)
 Sets the local index of this cutoffGroup.

Detailed Description

Definition at line 56 of file CutoffGroup.hpp.

Constructor & Destructor Documentation

◆ CutoffGroup()

OpenMD::CutoffGroup::CutoffGroup ( )
inline

Definition at line 58 of file CutoffGroup.hpp.

Member Function Documentation

◆ addAtom()

void OpenMD::CutoffGroup::addAtom ( Atom * atom)
inline

Definition at line 69 of file CutoffGroup.hpp.

◆ beginAtom()

Atom * OpenMD::CutoffGroup::beginAtom ( std::vector< Atom * >::iterator & i)
inline

Definition at line 71 of file CutoffGroup.hpp.

◆ getAtoms()

std::vector< Atom * > OpenMD::CutoffGroup::getAtoms ( )
inline

Definition at line 81 of file CutoffGroup.hpp.

◆ getGlobalIndex()

int OpenMD::CutoffGroup::getGlobalIndex ( )
inline

Definition at line 134 of file CutoffGroup.hpp.

◆ getLocalIndex()

int OpenMD::CutoffGroup::getLocalIndex ( )
inline

Returns the local index of this cutoffGroup.

Returns
the local index of this cutoffGroup

Definition at line 142 of file CutoffGroup.hpp.

◆ getMass()

RealType OpenMD::CutoffGroup::getMass ( )
inline

Definition at line 82 of file CutoffGroup.hpp.

◆ getNumAtom()

size_t OpenMD::CutoffGroup::getNumAtom ( )
inline

Definition at line 132 of file CutoffGroup.hpp.

◆ getPos()

Vector3d OpenMD::CutoffGroup::getPos ( )
inline

Definition at line 123 of file CutoffGroup.hpp.

◆ getVel()

Vector3d OpenMD::CutoffGroup::getVel ( )
inline

Definition at line 127 of file CutoffGroup.hpp.

◆ nextAtom()

Atom * OpenMD::CutoffGroup::nextAtom ( std::vector< Atom * >::iterator & i)
inline

Definition at line 76 of file CutoffGroup.hpp.

◆ setGlobalIndex()

void OpenMD::CutoffGroup::setGlobalIndex ( int id)
inline

Definition at line 136 of file CutoffGroup.hpp.

◆ setLocalIndex()

void OpenMD::CutoffGroup::setLocalIndex ( int index)
inline

Sets the local index of this cutoffGroup.

Parameters
indexnew index to be set

Definition at line 148 of file CutoffGroup.hpp.

◆ setSnapshotManager()

void OpenMD::CutoffGroup::setSnapshotManager ( SnapshotManager * sman)
inline

Sets the Snapshot Manager of this cutoffGroup.

Definition at line 67 of file CutoffGroup.hpp.

Referenced by OpenMD::SimInfo::setSnapshotManager().

◆ updateCOM()

void OpenMD::CutoffGroup::updateCOM ( )
inline

Definition at line 98 of file CutoffGroup.hpp.


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