Simpatico
v1.10
|
Location of the pointer to a particular Atom in a CellList.
A CellList contains a array of CellTag objects, which are indexed by Atom Id, and an array of Cell objects, each of which stores pointers of all Atoms in one cell. Each CellTag contains the information necessary to locate a particular Atom within the CellList, to allow fast deletion of a specified Atom from its Cell.
#include <CellTag.h>
Public Member Functions | |
CellTag () | |
Default constructor. More... | |
void | clear () |
Set CellTag to empty/unused state. More... | |
Public Attributes | |
int | cellId |
Cell index of Cell containing associated Atom. More... | |
int | cellPos |
Array index of Atom pointer in a Cell::part_ array. More... | |
Static Public Attributes | |
static const int | NullIndex = -1 |
Null (unknown) value for cellId and cellPos. More... | |
|
inline |
|
inline |
|
static |
int McMd::CellTag::cellId |
Cell index of Cell containing associated Atom.
Definition at line 36 of file CellTag.h.
Referenced by McMd::Cell::addAtom(), McMd::Cell::deleteAtom(), McMd::CellList::deleteAtom(), and McMd::CellList::updateAtomCell().
int McMd::CellTag::cellPos |
Array index of Atom pointer in a Cell::part_ array.
Definition at line 39 of file CellTag.h.
Referenced by McMd::Cell::addAtom(), and McMd::Cell::deleteAtom().