PPL Logo

XT3TorusManager Class Reference

#include <XT3Torus.h>

Collaboration diagram for XT3TorusManager:

Collaboration graph
[legend]

Public Member Functions

 XT3TorusManager ()
 ~XT3TorusManager ()
int getDimX ()
int getDimY ()
int getDimZ ()
int getDimNX ()
int getDimNY ()
int getDimNZ ()
int getDimNT ()
int getProcsPerNode ()
intisTorus ()
void rankToCoordinates (int pe, int &x, int &y, int &z, int &t)
void realRankToCoordinates (int pe, int &x, int &y, int &z, int &t)
int coordinatesToRank (int x, int y, int z, int t)

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
char mapping [10]
int **** coords2pid
struct locpid2coords
struct loc origin

Detailed Description

Definition at line 46 of file XT3Torus.h.


Constructor & Destructor Documentation

XT3TorusManager::XT3TorusManager (  )  [inline]

XT3TorusManager::~XT3TorusManager (  )  [inline]

Definition at line 161 of file XT3Torus.h.

References coords2pid, free(), pid2coords, xDIM, and yDIM.


Member Function Documentation

int XT3TorusManager::getDimX (  )  [inline]

Definition at line 175 of file XT3Torus.h.

References dimX.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimY (  )  [inline]

Definition at line 176 of file XT3Torus.h.

References dimY.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimZ (  )  [inline]

Definition at line 177 of file XT3Torus.h.

References dimZ.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimNX (  )  [inline]

Definition at line 179 of file XT3Torus.h.

References dimNX.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimNY (  )  [inline]

Definition at line 180 of file XT3Torus.h.

References dimNY.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimNZ (  )  [inline]

Definition at line 181 of file XT3Torus.h.

References dimNZ.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getDimNT (  )  [inline]

Definition at line 182 of file XT3Torus.h.

References dimNT.

Referenced by TopoManager::TopoManager().

int XT3TorusManager::getProcsPerNode (  )  [inline]

Definition at line 184 of file XT3Torus.h.

References procsPerNode.

Referenced by TopoManager::TopoManager().

int* XT3TorusManager::isTorus (  )  [inline]

Definition at line 186 of file XT3Torus.h.

References torus.

Referenced by TopoManager::TopoManager().

void XT3TorusManager::rankToCoordinates ( int  pe,
int x,
int y,
int z,
int t 
) [inline]

Definition at line 188 of file XT3Torus.h.

References origin, pid2coords, loc::t, loc::x, loc::y, and loc::z.

Referenced by TopoManager::rankToCoordinates().

void XT3TorusManager::realRankToCoordinates ( int  pe,
int x,
int y,
int z,
int t 
) [inline]

Definition at line 195 of file XT3Torus.h.

References pid2coords, loc::t, loc::x, loc::y, and loc::z.

int XT3TorusManager::coordinatesToRank ( int  x,
int  y,
int  z,
int  t 
) [inline]

Definition at line 202 of file XT3Torus.h.

References coords2pid, origin, loc::t, loc::x, loc::y, and loc::z.

Referenced by TopoManager::coordinatesToRank(), and XT3TorusManager().


Field Documentation

Definition at line 48 of file XT3Torus.h.

Referenced by getDimX(), and XT3TorusManager().

Definition at line 49 of file XT3Torus.h.

Referenced by getDimY(), and XT3TorusManager().

Definition at line 50 of file XT3Torus.h.

Referenced by getDimZ(), and XT3TorusManager().

Definition at line 51 of file XT3Torus.h.

Referenced by getDimNX(), and XT3TorusManager().

Definition at line 52 of file XT3Torus.h.

Referenced by getDimNY(), and XT3TorusManager().

Definition at line 53 of file XT3Torus.h.

Referenced by getDimNZ(), and XT3TorusManager().

Definition at line 54 of file XT3Torus.h.

Referenced by getDimNT(), and XT3TorusManager().

Definition at line 55 of file XT3Torus.h.

Referenced by XT3TorusManager(), and ~XT3TorusManager().

Definition at line 55 of file XT3Torus.h.

Referenced by XT3TorusManager(), and ~XT3TorusManager().

Definition at line 55 of file XT3Torus.h.

Referenced by XT3TorusManager().

Definition at line 55 of file XT3Torus.h.

Referenced by XT3TorusManager().

Definition at line 57 of file XT3Torus.h.

Referenced by isTorus(), and XT3TorusManager().

Definition at line 58 of file XT3Torus.h.

Referenced by getProcsPerNode(), and XT3TorusManager().

char XT3TorusManager::mapping[10] [private]

Definition at line 59 of file XT3Torus.h.

Referenced by XT3TorusManager().

Definition at line 61 of file XT3Torus.h.

Referenced by coordinatesToRank(), XT3TorusManager(), and ~XT3TorusManager().

struct loc* XT3TorusManager::pid2coords [read, private]

struct loc XT3TorusManager::origin [read, private]

Definition at line 63 of file XT3Torus.h.

Referenced by coordinatesToRank(), rankToCoordinates(), and XT3TorusManager().


The documentation for this class was generated from the following file:

Generated on Fri May 25 08:05:57 2012 for Charm++ by  doxygen 1.5.5