OpenMD 3.1
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 53 of file CutoffGroup.hpp.

Constructor & Destructor Documentation

◆ CutoffGroup()

OpenMD::CutoffGroup::CutoffGroup ( )
inline

Definition at line 55 of file CutoffGroup.hpp.

Member Function Documentation

◆ addAtom()

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

Definition at line 66 of file CutoffGroup.hpp.

◆ beginAtom()

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

Definition at line 68 of file CutoffGroup.hpp.

◆ getAtoms()

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

Definition at line 78 of file CutoffGroup.hpp.

◆ getGlobalIndex()

int OpenMD::CutoffGroup::getGlobalIndex ( )
inline

Definition at line 131 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 139 of file CutoffGroup.hpp.

◆ getMass()

RealType OpenMD::CutoffGroup::getMass ( )
inline

Definition at line 79 of file CutoffGroup.hpp.

◆ getNumAtom()

size_t OpenMD::CutoffGroup::getNumAtom ( )
inline

Definition at line 129 of file CutoffGroup.hpp.

◆ getPos()

Vector3d OpenMD::CutoffGroup::getPos ( )
inline

Definition at line 120 of file CutoffGroup.hpp.

◆ getVel()

Vector3d OpenMD::CutoffGroup::getVel ( )
inline

Definition at line 124 of file CutoffGroup.hpp.

◆ nextAtom()

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

Definition at line 73 of file CutoffGroup.hpp.

◆ setGlobalIndex()

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

Definition at line 133 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 145 of file CutoffGroup.hpp.

◆ setSnapshotManager()

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

Sets the Snapshot Manager of this cutoffGroup.

Definition at line 64 of file CutoffGroup.hpp.

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

◆ updateCOM()

void OpenMD::CutoffGroup::updateCOM ( )
inline

Definition at line 95 of file CutoffGroup.hpp.


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