PPL Logo

BGQTorusManager Class Reference

#include <BGQTorus.h>

Collaboration diagram for BGQTorusManager:

Collaboration graph
[legend]

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 ()
intisTorus ()
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]

Detailed Description

Definition at line 23 of file BGQTorus.h.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

BGQTorusManager::~BGQTorusManager (  )  [inline]

Definition at line 52 of file BGQTorus.h.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int BGQTorusManager::getDimX (  )  [inline]

Definition at line 57 of file BGQTorus.h.

References dimA, and dimB.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimY (  )  [inline]

Definition at line 58 of file BGQTorus.h.

References dimC, and dimD.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimZ (  )  [inline]

Definition at line 59 of file BGQTorus.h.

References dimE.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNX (  )  [inline]

Definition at line 61 of file BGQTorus.h.

References rn_NA, and rn_NB.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNY (  )  [inline]

Definition at line 62 of file BGQTorus.h.

References rn_NC, and rn_ND.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNZ (  )  [inline]

Definition at line 63 of file BGQTorus.h.

References rn_NE.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNT (  )  [inline]

Definition at line 64 of file BGQTorus.h.

References hw_NT.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNA (  )  [inline]

Definition at line 66 of file BGQTorus.h.

References rn_NA.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNB (  )  [inline]

Definition at line 67 of file BGQTorus.h.

References rn_NB.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNC (  )  [inline]

Definition at line 68 of file BGQTorus.h.

References rn_NC.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimND (  )  [inline]

Definition at line 69 of file BGQTorus.h.

References rn_ND.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getDimNE (  )  [inline]

Definition at line 70 of file BGQTorus.h.

References rn_NE.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int BGQTorusManager::getProcsPerNode (  )  [inline]

Definition at line 72 of file BGQTorus.h.

References procsPerNode.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

int* BGQTorusManager::isTorus (  )  [inline]

Definition at line 73 of file BGQTorus.h.

References torus.

Referenced by TopoManager::TopoManager().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void BGQTorusManager::rankToCoordinates ( int  pe,
int a,
int b,
int c,
int d,
int e,
int t 
) const [inline]

Definition at line 89 of file BGQTorus.h.

References dims, and order.

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

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int BGQTorusManager::coordinatesToRank ( int  a,
int  b,
int  c,
int  d,
int  e,
int  t 
) const [inline]

Definition at line 138 of file BGQTorus.h.

References bgq_isLocalSet, bgq_localNodes, CmiNodeFirst(), CmiNodeOf(), CmiRankOf(), dims, order, and rank.

Here is the call graph for this function:

int BGQTorusManager::getTotalPhyNodes (  )  [inline]

Definition at line 171 of file BGQTorus.h.

References rn_NA, rn_NB, rn_NC, rn_ND, and rn_NE.

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

Definition at line 174 of file BGQTorus.h.

References PUP::a, PUP::b, c, PUP::d, rankToCoordinates(), rn_NB, rn_NC, rn_ND, rn_NE, PUP::t, and x.

Here is the call graph for this function:


Field Documentation

Definition at line 25 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimX().

Definition at line 26 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimX().

Definition at line 27 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimY().

Definition at line 28 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimY().

Definition at line 29 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimZ().

Definition at line 31 of file BGQTorus.h.

Referenced by BGQTorusManager().

Definition at line 32 of file BGQTorus.h.

Referenced by BGQTorusManager().

Definition at line 33 of file BGQTorus.h.

Referenced by BGQTorusManager().

Definition at line 34 of file BGQTorus.h.

Referenced by BGQTorusManager().

Definition at line 35 of file BGQTorus.h.

Referenced by BGQTorusManager().

Definition at line 36 of file BGQTorus.h.

Referenced by BGQTorusManager(), and getDimNT().

Definition at line 38 of file BGQTorus.h.

Referenced by BGQTorusManager(), getDimNA(), getDimNX(), and getTotalPhyNodes().

Definition at line 44 of file BGQTorus.h.

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

Definition at line 45 of file BGQTorus.h.

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

Definition at line 46 of file BGQTorus.h.

Referenced by BGQTorusManager(), and isTorus().

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]

Definition at line 48 of file BGQTorus.h.

Referenced by BGQTorusManager().


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

Generated on Mon Sep 21 08:17:52 2020 for Charm++ by  doxygen 1.5.5