|
#include <HGridCell.h>
Public Member Functions | |
HGridCell () | |
bool | equals (int x, int y, int z, unsigned int level) const |
Checks if the given (x,y,z,level) is the same as the ones in this cell. More... | |
bool | equals (int x, int y, unsigned int level) const |
Checks if the given (x,y,z,level) is the same as the ones in this cell, 2D version. More... | |
bool | operator== (const HGridCell &other) const |
Checks if the given cell is the same as the given cell. More... | |
int | getHGridX () const |
void | setHGridX (int HGridX) |
int | getHGridY () const |
void | setHGridY (int HGridY) |
int | getHGridZ () const |
void | setHGridZ (int HGridZ) |
unsigned int | getHGridLevel () const |
void | setHGridLevel (unsigned int HGridLevel) |
Private Attributes | |
int | hGridX_ |
Cell position in the grid. More... | |
int | hGridY_ |
int | hGridZ_ |
unsigned int | hGridLevel_ |
HGrid-level of the particle containing this cell. More... | |
Contains the hGrid-information for a certain particle: x,y,z and level of the particle containing this. Note, that each particle contains a HGridCell. All methods are inline for speed reasons: they are called VERY often, so we do need performance here.
|
inline |
|
inline |
Checks if the given (x,y,z,level) is the same as the ones in this cell.
References hGridLevel_, hGridX_, hGridY_, and hGridZ_.
Referenced by DPM::computeLocalCGHGrid(), DPM::computeLocalVolumeFractionHGrid(), Mercury3D::computeWallForces(), Mercury3D::hGridFindContactsWithTargetCell(), Mercury2D::hGridFindContactsWithTargetCell(), Mercury2D::hGridFindParticleContacts(), Mercury3D::hGridFindParticleContacts(), Mercury3D::hGridFindParticlesWithTargetCell(), Mercury2D::hGridFindParticlesWithTargetCell(), Mercury3D::hGridHasContactsInTargetCell(), Mercury2D::hGridHasContactsInTargetCell(), and operator==().
|
inline |
Checks if the given (x,y,z,level) is the same as the ones in this cell, 2D version.
References hGridLevel_, hGridX_, and hGridY_.
|
inline |
References hGridLevel_.
Referenced by HGrid::computeHashBucketIndex(), BaseParticle::getHGridLevel(), and BaseParticle::printHGrid().
|
inline |
References hGridX_.
Referenced by HGrid::computeHashBucketIndex(), BaseParticle::getHGridX(), and BaseParticle::printHGrid().
|
inline |
References hGridY_.
Referenced by HGrid::computeHashBucketIndex(), BaseParticle::getHGridY(), and BaseParticle::printHGrid().
|
inline |
References hGridZ_.
Referenced by HGrid::computeHashBucketIndex(), BaseParticle::getHGridZ(), and BaseParticle::printHGrid().
Checks if the given cell is the same as the given cell.
References equals(), hGridLevel_, hGridX_, hGridY_, and hGridZ_.
|
inline |
References hGridLevel_.
Referenced by BaseParticle::BaseParticle(), and BaseParticle::setHGridLevel().
|
inline |
References hGridX_.
Referenced by BaseParticle::BaseParticle(), and BaseParticle::setHGridX().
|
inline |
References hGridY_.
Referenced by BaseParticle::BaseParticle(), and BaseParticle::setHGridY().
|
inline |
References hGridZ_.
Referenced by BaseParticle::BaseParticle(), and BaseParticle::setHGridZ().
|
private |
HGrid-level of the particle containing this cell.
Referenced by equals(), getHGridLevel(), operator==(), and setHGridLevel().
|
private |
Cell position in the grid.
Referenced by equals(), getHGridX(), operator==(), and setHGridX().
|
private |
Referenced by equals(), getHGridY(), operator==(), and setHGridY().
|
private |
Referenced by equals(), getHGridZ(), operator==(), and setHGridZ().