PPL Logo

BGPTorusManager Class Reference

#include <BGPTorus.h>

Collaboration diagram for BGPTorusManager:

Collaboration graph
[legend]

Public Member Functions

 BGPTorusManager ()
 ~BGPTorusManager ()
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 coordinatesToRank (int x, int y, int z)
void rankToCoordinates (int pe, int &x, int &y, int &z, int &t)
int coordinatesToRank (int x, int y, int z, int t)
void rankToCoordinates (int pe, int &x, int &y, int &z, int &t)
int coordinatesToRank (int x, int y, int z, int t)
int getTotalPhyNodes ()
int getMyPhyNodeID (int pe)

Private Attributes

DCMF_Hardware_t bgp_hwt
int dimX
int dimY
int dimZ
int hw_NX
int hw_NY
int hw_NZ
int hw_NT
int rn_NX
int rn_NY
int rn_NZ
int thdsPerProc
int procsPerNode
int torus [4]
char * mapping

Detailed Description

Definition at line 16 of file BGPTorus.h.


Constructor & Destructor Documentation

BGPTorusManager::BGPTorusManager (  )  [inline]

Definition at line 39 of file BGPTorus.h.

References bgp_hwt, c, dimX, dimY, dimZ, hw_NT, hw_NX, hw_NY, hw_NZ, mapping, procsPerNode, rn_NX, rn_NY, rn_NZ, thdsPerProc, and torus.

BGPTorusManager::~BGPTorusManager (  )  [inline]

Definition at line 113 of file BGPTorus.h.


Member Function Documentation

int BGPTorusManager::getDimX (  )  [inline]

Definition at line 116 of file BGPTorus.h.

References dimX.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimY (  )  [inline]

Definition at line 117 of file BGPTorus.h.

References dimY.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimZ (  )  [inline]

Definition at line 118 of file BGPTorus.h.

References dimZ.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimNX (  )  [inline]

Definition at line 120 of file BGPTorus.h.

References rn_NX.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimNY (  )  [inline]

Definition at line 121 of file BGPTorus.h.

References rn_NY.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimNZ (  )  [inline]

Definition at line 122 of file BGPTorus.h.

References rn_NZ.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getDimNT (  )  [inline]

Definition at line 123 of file BGPTorus.h.

References hw_NT.

Referenced by TopoManager::TopoManager().

int BGPTorusManager::getProcsPerNode (  )  [inline]

Definition at line 125 of file BGPTorus.h.

References procsPerNode.

Referenced by TopoManager::TopoManager().

int* BGPTorusManager::isTorus (  )  [inline]

Definition at line 127 of file BGPTorus.h.

References torus.

Referenced by TopoManager::TopoManager().

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

Definition at line 130 of file BGPTorus.h.

References dimX, and dimY.

Referenced by getMyPhyNodeID(), and TopoManager::rankToCoordinates().

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

Definition at line 136 of file BGPTorus.h.

References dimX, and dimY.

Referenced by TopoManager::coordinatesToRank().

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

Definition at line 141 of file BGPTorus.h.

References hw_NT, mapping, rn_NX, rn_NY, and rn_NZ.

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

Definition at line 155 of file BGPTorus.h.

References hw_NT, mapping, rn_NX, rn_NY, and rn_NZ.

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

Definition at line 166 of file BGPTorus.h.

References mapping, procsPerNode, rn_NX, rn_NY, rn_NZ, and thdsPerProc.

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

Definition at line 184 of file BGPTorus.h.

References mapping, procsPerNode, rn_NX, rn_NY, rn_NZ, and thdsPerProc.

int BGPTorusManager::getTotalPhyNodes (  )  [inline]

Definition at line 202 of file BGPTorus.h.

References rn_NX, rn_NY, and rn_NZ.

int BGPTorusManager::getMyPhyNodeID ( int  pe  )  [inline]

Definition at line 205 of file BGPTorus.h.

References rankToCoordinates(), rn_NX, and rn_NY.


Field Documentation

DCMF_Hardware_t BGPTorusManager::bgp_hwt [private]

Definition at line 18 of file BGPTorus.h.

Referenced by BGPTorusManager().

Definition at line 19 of file BGPTorus.h.

Referenced by BGPTorusManager(), coordinatesToRank(), getDimX(), and rankToCoordinates().

Definition at line 20 of file BGPTorus.h.

Referenced by BGPTorusManager(), coordinatesToRank(), getDimY(), and rankToCoordinates().

Definition at line 21 of file BGPTorus.h.

Referenced by BGPTorusManager(), and getDimZ().

Definition at line 23 of file BGPTorus.h.

Referenced by BGPTorusManager().

Definition at line 24 of file BGPTorus.h.

Referenced by BGPTorusManager().

Definition at line 25 of file BGPTorus.h.

Referenced by BGPTorusManager().

Definition at line 26 of file BGPTorus.h.

Referenced by BGPTorusManager(), coordinatesToRank(), getDimNT(), and rankToCoordinates().

Definition at line 32 of file BGPTorus.h.

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

Definition at line 33 of file BGPTorus.h.

Referenced by BGPTorusManager(), coordinatesToRank(), getProcsPerNode(), and rankToCoordinates().

Definition at line 35 of file BGPTorus.h.

Referenced by BGPTorusManager(), and isTorus().

char* BGPTorusManager::mapping [private]

Definition at line 36 of file BGPTorus.h.

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


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

Generated on Thu May 24 07:56:33 2012 for Charm++ by  doxygen 1.5.5