PPL Logo

ST_RecursivePartition< Iterator >::PhyNode< Iterator > Class Template Reference

Collaboration diagram for ST_RecursivePartition< Iterator >::PhyNode< Iterator >:

Collaboration graph
[legend]

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< intnodes
 a pe in physical node (doesn't matter which one it is)
std::vector< intcoords
 (charm)nodes in this phynode

Detailed Description

template<typename Iterator>
template<typename Iterator>
class ST_RecursivePartition< Iterator >::PhyNode< Iterator >

Definition at line 24 of file spanningTree.C.


Constructor & Destructor Documentation

template<typename Iterator>
template<typename Iterator>
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().

Here is the call graph for this function:


Member Function Documentation

template<typename Iterator>
template<typename Iterator>
void ST_RecursivePartition< Iterator >::PhyNode< Iterator >::addNode ( int  n  )  [inline]

Definition at line 29 of file spanningTree.C.

Referenced by ST_RecursivePartition< Iterator >::initPhyNodes().

Here is the caller graph for this function:

template<typename Iterator>
template<typename Iterator>
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::size ( void   )  const [inline]

Definition at line 30 of file spanningTree.C.

Referenced by ST_RecursivePartition< Iterator >::withinPhyNodeTree().

Here is the caller graph for this function:

template<typename Iterator>
template<typename Iterator>
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().

Here is the caller graph for this function:

template<typename Iterator>
template<typename Iterator>
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.

Here is the call graph for this function:

template<typename Iterator>
template<typename Iterator>
void ST_RecursivePartition< Iterator >::PhyNode< Iterator >::print ( void   )  [inline]

Definition at line 41 of file spanningTree.C.

References coords.


Field Documentation

template<typename Iterator>
template<typename Iterator>
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::id

template<typename Iterator>
template<typename Iterator>
int ST_RecursivePartition< Iterator >::PhyNode< Iterator >::pe

template<typename Iterator>
template<typename Iterator>
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().

template<typename Iterator>
template<typename Iterator>
std::vector<int> ST_RecursivePartition< Iterator >::PhyNode< Iterator >::coords


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

Generated on Mon Sep 21 08:30:11 2020 for Charm++ by  doxygen 1.5.5