PPL Logo

CollideLoc3d Class Reference

#include <collide_util.h>

Collaboration diagram for CollideLoc3d:

Collaboration graph
[legend]

Public Member Functions

 CollideLoc3d (int Nx, int Ny, int Nz)
 CollideLoc3d ()
int getX () const
int getY () const
int getZ () const
unsigned int hash (void) const
int compare (const CollideLoc3d &b) const

Static Public Member Functions

static unsigned int staticHash (const void *key, size_t ignored)
static int staticCompare (const void *k1, const void *k2, size_t ignored)

Data Fields

int x
int y
int z

Static Private Member Functions

static int cls (int x, unsigned int n)

Detailed Description

Definition at line 64 of file collide_util.h.


Constructor & Destructor Documentation

CollideLoc3d::CollideLoc3d ( int  Nx,
int  Ny,
int  Nz 
) [inline]

Definition at line 73 of file collide_util.h.

References x, y, and z.

CollideLoc3d::CollideLoc3d (  )  [inline]

Definition at line 74 of file collide_util.h.


Member Function Documentation

static int CollideLoc3d::cls ( int  x,
unsigned int  n 
) [inline, static, private]

Definition at line 66 of file collide_util.h.

References int.

Referenced by hash().

Here is the caller graph for this function:

int CollideLoc3d::getX (  )  const [inline]

Definition at line 75 of file collide_util.h.

References x.

int CollideLoc3d::getY (  )  const [inline]

Definition at line 76 of file collide_util.h.

References y.

int CollideLoc3d::getZ (  )  const [inline]

Definition at line 77 of file collide_util.h.

References z.

unsigned int CollideLoc3d::hash ( void   )  const [inline]

Definition at line 78 of file collide_util.h.

References cls(), x, y, and z.

Here is the call graph for this function:

static unsigned int CollideLoc3d::staticHash ( const void *  key,
size_t  ignored 
) [inline, static]

Definition at line 82 of file collide_util.h.

int CollideLoc3d::compare ( const CollideLoc3d b  )  const [inline]

Definition at line 85 of file collide_util.h.

References x, y, and z.

Referenced by hashCache< n >::lookup().

Here is the caller graph for this function:

static int CollideLoc3d::staticCompare ( const void *  k1,
const void *  k2,
size_t  ignored 
) [inline, static]

Definition at line 88 of file collide_util.h.


Field Documentation


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

Generated on Mon Sep 21 08:21:57 2020 for Charm++ by  doxygen 1.5.5