Go to the source code of this file.
Data Structures | |
struct | loc |
class | XTTorusManager |
Functions | |
int | pidtonid (int numpes) |
pidtonid finds nids for pids 1 to CmiNumPes and stores them in an array correspondingly also creates an array for nids to pids | |
int | getMeshCoord (int nid, int *x, int *y, int *z) |
getMeshCoord wrapper function for rca_get_meshcoord 0: success, -1: failure | |
void | getDimension (int *, int *, int *, int *) |
Variables | |
int * | pid2nid |
rca_mesh_coord_t * | rca_coords |
Definition in file XTTorus.h.
pidtonid finds nids for pids 1 to CmiNumPes and stores them in an array correspondingly also creates an array for nids to pids
Definition at line 112 of file CrayNid.c.
References CmiLock(), CmiNodeOf(), CmiUnlock(), cray_lock, getDimension(), malloc(), maxNID, maxX, maxY, maxZ, pid2nid, and rca_coords.
Referenced by XTTorusManager::XTTorusManager().
getMeshCoord wrapper function for rca_get_meshcoord 0: success, -1: failure
Definition at line 83 of file CrayNid.c.
References CmiAbort(), and rca_coords.
Referenced by getDimension(), and XTTorusManager::XTTorusManager().
rca_mesh_coord_t* rca_coords |