
#include <BGQTorus.h>

Public Member Functions | |
| BGQTorusManager () | |
| ~BGQTorusManager () | |
| void | populateLocalNodes () |
| int | getDimX () |
| int | getDimY () |
| int | getDimZ () |
| int | getDimNX () |
| int | getDimNY () |
| int | getDimNZ () |
| int | getDimNT () |
| int | getDimNA () |
| int | getDimNB () |
| int | getDimNC () |
| int | getDimND () |
| int | getDimNE () |
| int | getProcsPerNode () |
| int * | isTorus () |
| void | rankToCoordinates (int pe, int &x, int &y, int &z, int &t) const |
| void | rankToCoordinates (int pe, int &a, int &b, int &c, int &d, int &e, int &t) const |
| int | coordinatesToRank (int x, int y, int z, int t) const |
| int | coordinatesToRank (int a, int b, int c, int d, int e, int t) const |
| int | getTotalPhyNodes () |
| int | getMyPhyNodeID (int pe) |
Private Attributes | |
| int | dimA |
| int | dimB |
| int | dimC |
| int | dimD |
| int | dimE |
| int | hw_NA |
| int | hw_NB |
| int | hw_NC |
| int | hw_ND |
| int | hw_NE |
| int | hw_NT |
| int | rn_NA |
| int | rn_NB |
| int | rn_NC |
| int | rn_ND |
| int | rn_NE |
| int | thdsPerProc |
| int | procsPerNode |
| int | torus [5] |
| int | order [6] |
| int | dims [6] |
| char | mapping [10] |
Definition at line 23 of file BGQTorus.h.
| BGQTorusManager::BGQTorusManager | ( | ) |
Definition at line 34 of file BGQTorus.C.
References c, dimA, dimB, dimC, dimD, dimE, dims, free(), hw_NA, hw_NB, hw_NC, hw_ND, hw_NE, hw_NT, malloc(), mapping, order, populateLocalNodes(), procsPerNode, rn_NA, rn_NB, rn_NC, rn_ND, rn_NE, thdsPerProc, and torus.

| BGQTorusManager::~BGQTorusManager | ( | ) | [inline] |
Definition at line 52 of file BGQTorus.h.
| void BGQTorusManager::populateLocalNodes | ( | ) |
Definition at line 143 of file BGQTorus.C.
References PUP::a, PUP::b, bgq_isLocalSet, bgq_localNodes, bgq_lock, c, CmiLock(), CmiNodeFirst(), CmiNodeOf(), CmiUnlock(), coordinatesToRank(), PUP::d, int, malloc(), rankToCoordinates(), and PUP::t.
Referenced by BGQTorusManager().


| int BGQTorusManager::getDimX | ( | ) | [inline] |
Definition at line 57 of file BGQTorus.h.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimY | ( | ) | [inline] |
Definition at line 58 of file BGQTorus.h.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimZ | ( | ) | [inline] |
Definition at line 59 of file BGQTorus.h.
References dimE.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNX | ( | ) | [inline] |
Definition at line 61 of file BGQTorus.h.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNY | ( | ) | [inline] |
Definition at line 62 of file BGQTorus.h.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNZ | ( | ) | [inline] |
Definition at line 63 of file BGQTorus.h.
References rn_NE.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNT | ( | ) | [inline] |
Definition at line 64 of file BGQTorus.h.
References hw_NT.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNA | ( | ) | [inline] |
Definition at line 66 of file BGQTorus.h.
References rn_NA.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNB | ( | ) | [inline] |
Definition at line 67 of file BGQTorus.h.
References rn_NB.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNC | ( | ) | [inline] |
Definition at line 68 of file BGQTorus.h.
References rn_NC.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimND | ( | ) | [inline] |
Definition at line 69 of file BGQTorus.h.
References rn_ND.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getDimNE | ( | ) | [inline] |
Definition at line 70 of file BGQTorus.h.
References rn_NE.
Referenced by TopoManager::TopoManager().

| int BGQTorusManager::getProcsPerNode | ( | ) | [inline] |
Definition at line 72 of file BGQTorus.h.
References procsPerNode.
Referenced by TopoManager::TopoManager().

| int* BGQTorusManager::isTorus | ( | ) | [inline] |
Definition at line 73 of file BGQTorus.h.
References torus.
Referenced by TopoManager::TopoManager().

| void BGQTorusManager::rankToCoordinates | ( | int | pe, | |
| int & | x, | |||
| int & | y, | |||
| int & | z, | |||
| int & | t | |||
| ) | const [inline] |
Definition at line 75 of file BGQTorus.h.
References PUP::a, PUP::b, c, PUP::d, procsPerNode, rn_NB, rn_NC, rn_ND, rn_NE, and thdsPerProc.
Referenced by getMyPhyNodeID(), populateLocalNodes(), and TopoManager::rankToCoordinates().

Definition at line 109 of file BGQTorus.h.
References PUP::a, PUP::b, bgq_isLocalSet, bgq_localNodes, c, CmiNodeFirst(), CmiNodeOf(), CmiRankOf(), PUP::d, procsPerNode, rank, rn_NB, rn_NC, rn_ND, rn_NE, and thdsPerProc.
Referenced by TopoManager::coordinatesToRank(), and populateLocalNodes().


Definition at line 138 of file BGQTorus.h.
References bgq_isLocalSet, bgq_localNodes, CmiNodeFirst(), CmiNodeOf(), CmiRankOf(), dims, order, and rank.

| int BGQTorusManager::getTotalPhyNodes | ( | ) | [inline] |
int BGQTorusManager::dimA [private] |
int BGQTorusManager::dimB [private] |
int BGQTorusManager::dimC [private] |
int BGQTorusManager::dimD [private] |
int BGQTorusManager::dimE [private] |
int BGQTorusManager::hw_NA [private] |
int BGQTorusManager::hw_NB [private] |
int BGQTorusManager::hw_NC [private] |
int BGQTorusManager::hw_ND [private] |
int BGQTorusManager::hw_NE [private] |
int BGQTorusManager::hw_NT [private] |
int BGQTorusManager::rn_NA [private] |
Definition at line 38 of file BGQTorus.h.
Referenced by BGQTorusManager(), getDimNA(), getDimNX(), and getTotalPhyNodes().
int BGQTorusManager::rn_NB [private] |
Definition at line 39 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), getDimNB(), getDimNX(), getMyPhyNodeID(), getTotalPhyNodes(), and rankToCoordinates().
int BGQTorusManager::rn_NC [private] |
Definition at line 40 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), getDimNC(), getDimNY(), getMyPhyNodeID(), getTotalPhyNodes(), and rankToCoordinates().
int BGQTorusManager::rn_ND [private] |
Definition at line 41 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), getDimND(), getDimNY(), getMyPhyNodeID(), getTotalPhyNodes(), and rankToCoordinates().
int BGQTorusManager::rn_NE [private] |
Definition at line 42 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), getDimNE(), getDimNZ(), getMyPhyNodeID(), getTotalPhyNodes(), and rankToCoordinates().
int BGQTorusManager::thdsPerProc [private] |
Definition at line 44 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), and rankToCoordinates().
int BGQTorusManager::procsPerNode [private] |
Definition at line 45 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), getProcsPerNode(), and rankToCoordinates().
int BGQTorusManager::torus[5] [private] |
int BGQTorusManager::order[6] [private] |
Definition at line 47 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), and rankToCoordinates().
int BGQTorusManager::dims[6] [private] |
Definition at line 47 of file BGQTorus.h.
Referenced by BGQTorusManager(), coordinatesToRank(), and rankToCoordinates().
char BGQTorusManager::mapping[10] [private] |
1.5.5