
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 * | 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 134 of file CrayNid.c.
References CmiLock(), CmiNodeOf(), CmiNumCores(), CmiUnlock(), coords, free(), getDimension(), and malloc().
Referenced by craynid_init(), and XT3TorusManager::XT3TorusManager().
getMeshCoord wrapper function for rca_get_meshcoord 0: success, -1: failure
Definition at line 106 of file CrayNid.c.
References CmiAbort(), and coords.
Referenced by getDimension(), XT3TorusManager::XT3TorusManager(), and XTTorusManager::XTTorusManager().
1.5.5