PPL Logo

libs/ck-libs/collide/collidecharm.C File Reference

Go to the source code of this file.

Data Structures

class  hashCache< n >
class  hashCache1< KEY, OBJ >
class  voxelAggregator

Functions

CkGroupID CollideSerialClient (CollisionClientFn clientFn, void *clientParam)
 Call this on processor 0 to build a Collision client that just calls this serial routine on processor 0 with the final, complete Collision list.
CollideHandle CollideCreate (const CollideGrid3d &gridMap, CkGroupID clientGroupID)
 Create a collider group to contribute objects to.
void CollideRegister (CollideHandle h, int chunkNo)
 Register with this collider group.
void CollideUnregister (CollideHandle h, int chunkNo)
 Unregister with this collider group.
void CollideBoxesPrio (CollideHandle h, int chunkNo, int nBox, const bbox3d *boxes, const int *prio)
 Send these objects off to be collided.
static int low23 (unsigned int src)
static const char * voxName (int ix, int iy, int iz, char *buf)
static const char * voxName (const CkIndex3D &idx, char *buf)
CkArrayIndex3D buildIndex (const CollideLoc3d &l)

Variables

iSeg1d collideVoxel_extents [3]


Function Documentation

CkGroupID CollideSerialClient ( CollisionClientFn  clientFn,
void *  clientParam 
)

Call this on processor 0 to build a Collision client that just calls this serial routine on processor 0 with the final, complete Collision list.

Definition at line 35 of file collidecharm.C.

CollideHandle CollideCreate ( const CollideGrid3d gridMap,
CkGroupID  clientGroupID 
)

Create a collider group to contribute objects to.

Should be called on processor 0.

Definition at line 45 of file collidecharm.C.

Referenced by COLLIDE_Init().

Here is the caller graph for this function:

void CollideRegister ( CollideHandle  h,
int  chunkNo 
)

Register with this collider group.

Register with this collider group. (Call on creation/arrival).

Definition at line 55 of file collidecharm.C.

Referenced by threadCollide::arriving().

Here is the caller graph for this function:

void CollideUnregister ( CollideHandle  h,
int  chunkNo 
)

Unregister with this collider group.

Unregister with this collider group. (Call on deletion).

Definition at line 60 of file collidecharm.C.

Referenced by threadCollide::leaving().

Here is the caller graph for this function:

void CollideBoxesPrio ( CollideHandle  h,
int  chunkNo,
int  nBox,
const bbox3d boxes,
const int prio 
)

Send these objects off to be collided.

The results go the collisionClient group registered at creation time.

Definition at line 68 of file collidecharm.C.

Referenced by threadCollide::contribute().

Here is the caller graph for this function:

static int low23 ( unsigned int  src  )  [static]

Definition at line 379 of file collidecharm.C.

References offset, and PUP::u.

Referenced by collideVoxel::collideVoxel(), collideVoxel::status(), and voxName().

Here is the caller graph for this function:

static const char* voxName ( int  ix,
int  iy,
int  iz,
char *  buf 
) [static]

Definition at line 385 of file collidecharm.C.

References low23(), and x.

Referenced by collideMgr::sendVoxelMessage(), and voxName().

Here is the call graph for this function:

Here is the caller graph for this function:

static const char* voxName ( const CkIndex3D idx,
char *  buf 
) [static]

Definition at line 392 of file collidecharm.C.

References voxName().

Here is the call graph for this function:

CkArrayIndex3D buildIndex ( const CollideLoc3d l  )  [inline]

Definition at line 438 of file collidecharm.C.

References CollideLoc3d::x, CollideLoc3d::y, and CollideLoc3d::z.

Referenced by collideMgr::sendVoxelMessage().

Here is the caller graph for this function:


Variable Documentation

Initial value:

{
    iSeg1d(100,-100),iSeg1d(100,-100),iSeg1d(100,-100)}

Definition at line 502 of file collidecharm.C.


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