The RigidCLL library


CellInfo Class Reference

Cell information. More...

#include <RigidCLL.h>

Public Member Functions

 CellInfo ()
 Constructor.
void Reset ()
 Reset the cellInfo.
void AddFixedAtom (unsigned int id, unsigned int *fixedLL)
 Adds a fixed atom to a cell.
void AddMobileAtom (unsigned int id, unsigned int *mobileLL)
 Adds a mobile atom to a cell.

Data Fields

unsigned int mobileID
unsigned int fixedID

Detailed Description

Information stored in each of the cells of the grid (in the actually used ones).

Definition at line 167 of file RigidCLL.h.


Constructor & Destructor Documentation

CellInfo (  )  [inline]

CellInfo constructor.

Definition at line 175 of file RigidCLL.cpp.

References fixedID, MAX_UINT, and mobileID.


Member Function Documentation

void Reset (  )  [inline]

Resets the information stored into a CellInfo. This implies to "forget" about the mobile atoms but not about the fixed ones.

Definition at line 181 of file RigidCLL.cpp.

References MAX_UINT, and mobileID.

void AddFixedAtom ( unsigned int  id,
unsigned int *  fixedLL 
)

Adds a fixed atom into a cell.

Parameters:
id The identifier of the atom.
fixedLL The linked list with the fixed atoms.

Definition at line 186 of file RigidCLL.cpp.

References fixedID.

void AddMobileAtom ( unsigned int  id,
unsigned int *  mobileLL 
) [inline]

Adds a mobile atom into a cell.

Parameters:
id The identifier of the atom.
mobileLL The linked list with the mobile atoms.

Definition at line 192 of file RigidCLL.cpp.

References mobileID.


Field Documentation

unsigned int mobileID

Identifier of the first mobile atom in the cell.

Definition at line 169 of file RigidCLL.h.

Referenced by AddMobileAtom(), CellInfo(), RigidCLL::CLLInteractions(), RigidCLL::Interactions(), and Reset().

unsigned int fixedID

Identifier of the first fixed atom in the cell.

Definition at line 170 of file RigidCLL.h.

Referenced by AddFixedAtom(), CellInfo(), RigidCLL::CLLInteractions(), and RigidCLL::Interactions().


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