#include <HybridBaseLB.h>
Public Member Functions | |
ThreeLevelTree (int groupsize=512) | |
virtual | ~ThreeLevelTree () |
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 |
Definition at line 99 of file HybridBaseLB.h.
ThreeLevelTree::ThreeLevelTree | ( | int | groupsize = 512 |
) | [inline] |
Definition at line 103 of file HybridBaseLB.h.
References Converse::CkNumPes(), CmiGetFirstPeOnPhysicalNode(), CmiNumPhysicalNodes(), MyHierarchyTree::myname, MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.
virtual ThreeLevelTree::~ThreeLevelTree | ( | ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 124 of file HybridBaseLB.h.
References MyHierarchyTree::span, and toproot.
Implements MyHierarchyTree.
Definition at line 131 of file HybridBaseLB.h.
References MyHierarchyTree::span, and toproot.
Referenced by getChildren().
Implements MyHierarchyTree.
Definition at line 137 of file HybridBaseLB.h.
References Converse::CkNumPes(), mymin(), and MyHierarchyTree::span.
Referenced by getChildren().
virtual void ThreeLevelTree::getChildren | ( | int | mype, | |
int | level, | |||
int * | children, | |||
int & | count | |||
) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 144 of file HybridBaseLB.h.
References isroot(), numChildren(), and MyHierarchyTree::span.
int ThreeLevelTree::toproot [private] |
Definition at line 101 of file HybridBaseLB.h.
Referenced by isroot(), parent(), and ThreeLevelTree().