
#include <XTTorus.h>

Public Member Functions | |
| XTTorusManager () | |
| ~XTTorusManager () | |
| int | getDimX () |
| int | getDimY () |
| int | getDimZ () |
| int | getDimNX () |
| int | getDimNY () |
| int | getDimNZ () |
| int | getDimNT () |
| int | getProcsPerNode () |
| int * | isTorus () |
| void | rankToCoordinates (int pe, int &x, int &y, int &z, int &t) const |
| int | coordinatesToRank (int x, int y, int z, int t) const |
Private Attributes | |
| int | dimX |
| int | dimY |
| int | dimZ |
| int | dimNX |
| int | dimNY |
| int | dimNZ |
| int | dimNT |
| int | xDIM |
| int | yDIM |
| int | zDIM |
| int | maxNID |
| int | torus [4] |
| int | procsPerNode |
| int **** | coords2pid |
| struct loc * | pid2coords |
Definition at line 47 of file XTTorus.h.
| XTTorusManager::XTTorusManager | ( | ) | [inline] |
Definition at line 65 of file XTTorus.h.
References CmiNumCores(), coords2pid, dimNT, dimNX, dimNY, dimNZ, dimX, dimY, dimZ, getDimension(), getMeshCoord(), PUP::l, malloc(), maxNID, pid2coords, pid2nid, pidtonid(), procsPerNode, loc::t, torus, loc::x, xDIM, loc::y, yDIM, loc::z, and zDIM.

| XTTorusManager::~XTTorusManager | ( | ) | [inline] |
Definition at line 142 of file XTTorus.h.
References coords2pid, free(), pid2coords, xDIM, yDIM, and zDIM.

| int XTTorusManager::getDimX | ( | ) | [inline] |
Definition at line 157 of file XTTorus.h.
References dimX.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimY | ( | ) | [inline] |
Definition at line 158 of file XTTorus.h.
References dimY.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimZ | ( | ) | [inline] |
Definition at line 159 of file XTTorus.h.
References dimZ.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimNX | ( | ) | [inline] |
Definition at line 161 of file XTTorus.h.
References dimNX.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimNY | ( | ) | [inline] |
Definition at line 162 of file XTTorus.h.
References dimNY.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimNZ | ( | ) | [inline] |
Definition at line 163 of file XTTorus.h.
References dimNZ.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getDimNT | ( | ) | [inline] |
Definition at line 164 of file XTTorus.h.
References dimNT.
Referenced by TopoManager::TopoManager().

| int XTTorusManager::getProcsPerNode | ( | ) | [inline] |
Definition at line 166 of file XTTorus.h.
References procsPerNode.
Referenced by TopoManager::TopoManager().

| int* XTTorusManager::isTorus | ( | ) | [inline] |
Definition at line 168 of file XTTorus.h.
References torus.
Referenced by TopoManager::TopoManager().

| void XTTorusManager::rankToCoordinates | ( | int | pe, | |
| int & | x, | |||
| int & | y, | |||
| int & | z, | |||
| int & | t | |||
| ) | const [inline] |
Definition at line 170 of file XTTorus.h.
References pid2coords, loc::t, loc::x, loc::y, and loc::z.
Referenced by TopoManager::rankToCoordinates().

Definition at line 177 of file XTTorus.h.
References coords2pid.
Referenced by TopoManager::coordinatesToRank().

int XTTorusManager::dimX [private] |
int XTTorusManager::dimY [private] |
int XTTorusManager::dimZ [private] |
int XTTorusManager::dimNX [private] |
int XTTorusManager::dimNY [private] |
int XTTorusManager::dimNZ [private] |
int XTTorusManager::dimNT [private] |
int XTTorusManager::xDIM [private] |
int XTTorusManager::yDIM [private] |
int XTTorusManager::zDIM [private] |
int XTTorusManager::maxNID [private] |
int XTTorusManager::torus[4] [private] |
int XTTorusManager::procsPerNode [private] |
int**** XTTorusManager::coords2pid [private] |
Definition at line 61 of file XTTorus.h.
Referenced by coordinatesToRank(), XTTorusManager(), and ~XTTorusManager().
struct loc* XTTorusManager::pid2coords [read, private] |
Definition at line 62 of file XTTorus.h.
Referenced by rankToCoordinates(), XTTorusManager(), and ~XTTorusManager().
1.5.5