Public Member Functions | |
PhyNode (int id, int pe, TopoManager *tmgr) | |
void | addNode (int n) |
int | size () const |
int | getNode (int i) const |
int | distance (const PhyNode &o, TopoManager *tmgr) const |
distance to other phynode | |
void | print () |
Data Fields | |
int | id |
int | pe |
std::vector< int > | nodes |
a pe in physical node (doesn't matter which one it is) | |
std::vector< int > | coords |
(charm)nodes in this phynode |
Definition at line 24 of file spanningTree.C.
ST_RecursivePartition< Iterator >::PhyNode< Iterator >::PhyNode | ( | int | id, | |
int | pe, | |||
TopoManager * | tmgr | |||
) | [inline] |
Definition at line 26 of file spanningTree.C.
References coords, TopoManager::haveTopologyInfo(), and TopoManager::rankToCoordinates().
void ST_RecursivePartition< Iterator >::PhyNode< Iterator >::addNode | ( | int | n | ) | [inline] |
Definition at line 29 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::initPhyNodes().
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::size | ( | void | ) | const [inline] |
Definition at line 30 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::withinPhyNodeTree().
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::getNode | ( | int | i | ) | const [inline] |
Definition at line 31 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::withinPhyNodeTree().
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::distance | ( | const PhyNode< Iterator > & | o, | |
TopoManager * | tmgr | |||
) | const [inline] |
distance to other phynode
Definition at line 36 of file spanningTree.C.
References TopoManager::getHopsBetweenRanks(), and ST_RecursivePartition< Iterator >::PhyNode< Iterator >::pe.
void ST_RecursivePartition< Iterator >::PhyNode< Iterator >::print | ( | void | ) | [inline] |
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::id |
Definition at line 50 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::PhyNodeCompare< Iterator >::operator()().
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::pe |
Definition at line 51 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::PhyNode< Iterator >::distance().
std::vector<int> ST_RecursivePartition< Iterator >::PhyNode< Iterator >::nodes |
a pe in physical node (doesn't matter which one it is)
Definition at line 52 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::withinPhyNodeTree().
std::vector<int> ST_RecursivePartition< Iterator >::PhyNode< Iterator >::coords |
(charm)nodes in this phynode
Definition at line 53 of file spanningTree.C.
Referenced by ST_RecursivePartition< Iterator >::maxSpreadDimension(), ST_RecursivePartition< Iterator >::PhyNodeCompare< Iterator >::operator()(), and ST_RecursivePartition< Iterator >::translateCoordinates().