#include <HybridBaseLB.h>
Public Member Functions | |
KLevelTree (int k) | |
virtual | ~KLevelTree () |
virtual int | parent (int mype, int level) |
virtual bool | isroot (int mype, int level) |
virtual int | numChildren (int mype, int level) |
virtual void | getChildren (int mype, int level, int *children, int &count) |
Private Attributes | |
int | toproot |
int | G |
Definition at line 231 of file HybridBaseLB.h.
KLevelTree::KLevelTree | ( | int | k | ) | [inline] |
Definition at line 236 of file HybridBaseLB.h.
References Converse::CkMyPe(), Converse::CkNumPes(), CmiAbort(), CmiGetFirstPeOnPhysicalNode(), CmiNumPhysicalNodes(), CmiPrintf(), G, int, MyHierarchyTree::myname, MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.
virtual KLevelTree::~KLevelTree | ( | ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 254 of file HybridBaseLB.h.
References MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.
Implements MyHierarchyTree.
Definition at line 261 of file HybridBaseLB.h.
References MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.
Referenced by getChildren().
Implements MyHierarchyTree.
Definition at line 269 of file HybridBaseLB.h.
References MyHierarchyTree::span.
Referenced by getChildren().
virtual void KLevelTree::getChildren | ( | int | mype, | |
int | level, | |||
int * | children, | |||
int & | count | |||
) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 273 of file HybridBaseLB.h.
References isroot(), MyHierarchyTree::nLevels, numChildren(), and MyHierarchyTree::span.
int KLevelTree::toproot [private] |
int KLevelTree::G [private] |