#include <HybridBaseLB.h>
Inheritance diagram for FourLevelTree:


Public Member Functions | |
| FourLevelTree () | |
| virtual | ~FourLevelTree () |
| virtual int | numLevels () |
| virtual int | parent (int mype, int level) |
| virtual int | isroot (int mype, int level) |
| virtual int | numChildren (int mype, int level) |
| virtual void | getChildren (int mype, int level, int *children, int &count) |
| virtual int | numNodes (int level) |
Private Attributes | |
| int | span [3] |
| int | toproot |
| int | nLevels |
Definition at line 115 of file HybridBaseLB.h.
| FourLevelTree::FourLevelTree | ( | ) | [inline] |
Definition at line 121 of file HybridBaseLB.h.
References Converse::CkNumPes(), nLevels, span, and toproot.
| virtual FourLevelTree::~FourLevelTree | ( | ) | [inline, virtual] |
Definition at line 135 of file HybridBaseLB.h.
| virtual int FourLevelTree::numLevels | ( | ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 145 of file HybridBaseLB.h.
Referenced by getChildren().
Implements MyHierarchyTree.
Definition at line 152 of file HybridBaseLB.h.
References span.
Referenced by getChildren().
| virtual void FourLevelTree::getChildren | ( | int | mype, | |
| int | level, | |||
| int * | children, | |||
| int & | count | |||
| ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 160 of file HybridBaseLB.h.
References children, isroot(), numChildren(), and span.
Implements MyHierarchyTree.
Definition at line 177 of file HybridBaseLB.h.
References Converse::CkNumPes(), nLevels, and span.
int FourLevelTree::span[3] [private] |
Definition at line 117 of file HybridBaseLB.h.
Referenced by FourLevelTree(), getChildren(), isroot(), numChildren(), numNodes(), and parent().
int FourLevelTree::toproot [private] |
Definition at line 118 of file HybridBaseLB.h.
Referenced by FourLevelTree(), isroot(), and parent().
int FourLevelTree::nLevels [private] |
Definition at line 119 of file HybridBaseLB.h.
Referenced by FourLevelTree(), numLevels(), and numNodes().
1.5.1