PPL Logo

XTTorusManager Class Reference

#include <XTTorus.h>

Collaboration diagram for XTTorusManager:

Collaboration graph
[legend]

Public Member Functions

 XTTorusManager ()
 ~XTTorusManager ()
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
int **** coords2pid
struct locpid2coords
struct loc origin

Detailed Description

Definition at line 93 of file XTTorus.h.


Constructor & Destructor Documentation

XTTorusManager::XTTorusManager (  )  [inline]

XTTorusManager::~XTTorusManager (  )  [inline]

Definition at line 203 of file XTTorus.h.

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


Member Function Documentation

int XTTorusManager::getDimX (  )  [inline]

Definition at line 218 of file XTTorus.h.

References dimX.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimY (  )  [inline]

Definition at line 219 of file XTTorus.h.

References dimY.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimZ (  )  [inline]

Definition at line 220 of file XTTorus.h.

References dimZ.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimNX (  )  [inline]

Definition at line 222 of file XTTorus.h.

References dimNX.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimNY (  )  [inline]

Definition at line 223 of file XTTorus.h.

References dimNY.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimNZ (  )  [inline]

Definition at line 224 of file XTTorus.h.

References dimNZ.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getDimNT (  )  [inline]

Definition at line 225 of file XTTorus.h.

References dimNT.

Referenced by TopoManager::TopoManager().

int XTTorusManager::getProcsPerNode (  )  [inline]

Definition at line 227 of file XTTorus.h.

References procsPerNode.

Referenced by TopoManager::TopoManager().

int* XTTorusManager::isTorus (  )  [inline]

Definition at line 229 of file XTTorus.h.

References torus.

Referenced by TopoManager::TopoManager().

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

Definition at line 231 of file XTTorus.h.

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

Referenced by TopoManager::rankToCoordinates().

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

Definition at line 238 of file XTTorus.h.

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

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

Definition at line 245 of file XTTorus.h.

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

Referenced by TopoManager::coordinatesToRank().


Field Documentation

Definition at line 95 of file XTTorus.h.

Referenced by getDimX(), and XTTorusManager().

Definition at line 96 of file XTTorus.h.

Referenced by getDimY(), and XTTorusManager().

Definition at line 97 of file XTTorus.h.

Referenced by getDimZ(), and XTTorusManager().

Definition at line 98 of file XTTorus.h.

Referenced by getDimNX(), and XTTorusManager().

Definition at line 99 of file XTTorus.h.

Referenced by getDimNY(), and XTTorusManager().

Definition at line 100 of file XTTorus.h.

Referenced by getDimNZ(), and XTTorusManager().

Definition at line 101 of file XTTorus.h.

Referenced by coordinatesToRank(), getDimNT(), and XTTorusManager().

Definition at line 102 of file XTTorus.h.

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

Definition at line 102 of file XTTorus.h.

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

Definition at line 102 of file XTTorus.h.

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

Definition at line 102 of file XTTorus.h.

Referenced by XTTorusManager().

int XTTorusManager::torus[4] [private]

Definition at line 104 of file XTTorus.h.

Referenced by isTorus(), and XTTorusManager().

Definition at line 105 of file XTTorus.h.

Referenced by getProcsPerNode(), and XTTorusManager().

Definition at line 107 of file XTTorus.h.

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

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

struct loc XTTorusManager::origin [read, private]

Definition at line 109 of file XTTorus.h.

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


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

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