PPL Logo

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

Go to the source code of this file.

Data Structures

class  collideClient

Typedefs

typedef void(* CollisionClientFn )(void *param, int nColl, Collision *colls)
 This client function is called on PE 0 with a Collision list.
typedef CkGroupID CollideHandle

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. (Call on creation/arrival).
void CollideUnregister (CollideHandle h, int chunkNo)
 Unregister with this collider group. (Call on deletion).
void CollideBoxesPrio (CollideHandle h, int chunkNo, int nBox, const bbox3d *boxes, const int *prio=NULL)
 Send these objects off to be collided.


Typedef Documentation

typedef void(* CollisionClientFn)(void *param, int nColl, Collision *colls)

This client function is called on PE 0 with a Collision list.

Definition at line 34 of file collidecharm.h.

Definition at line 42 of file collidecharm.h.


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. (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. (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:


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