
Go to the source code of this file.
Data Structures | |
| struct | loc |
| class | XT3TorusManager |
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 |
This file makes use of a static table we obtain from a file available on Bigben. Bigben does a XYZT mapping by default. Two steps to obtaining pid2coords and coords2pid are:
1. Get the nid for each pid using the nidpid_map call (also store this information as pid's (two) corresponding to a given nid 2. For each nid in the CrayNeighborTablefile, get the coordinates and assign the corresponding pids in the nid2pid data structure with these coordinates ('t' coord as 0 and 1)
Definition in file XT3Torus.h.
Definition at line 34 of file XT3Torus.h.
1.5.5