#include <HybridBaseLB.h>
Public Member Functions | |
TwoLevelTree () | |
virtual | ~TwoLevelTree () |
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 53 of file HybridBaseLB.h.
TwoLevelTree::TwoLevelTree | ( | ) | [inline] |
Definition at line 57 of file HybridBaseLB.h.
References Converse::CkNumPes(), MyHierarchyTree::myname, MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.
virtual TwoLevelTree::~TwoLevelTree | ( | ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 71 of file HybridBaseLB.h.
References toproot.
Referenced by getChildren().
Implements MyHierarchyTree.
Definition at line 76 of file HybridBaseLB.h.
References Converse::CkNumPes().
Referenced by getChildren().
virtual void TwoLevelTree::getChildren | ( | int | mype, | |
int | level, | |||
int * | children, | |||
int & | count | |||
) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 82 of file HybridBaseLB.h.
References isroot(), and numChildren().
int TwoLevelTree::toproot [private] |