The partioner. More...
#include <DAGHDistribution.h>
Public Member Functions | |
DAGHDistribution (const int disttype) | |
DAGHDistribution (const int disttype, BBoxList &bbl) | |
~DAGHDistribution () | |
void | partition (GridUnitList *&globallist, GridUnitList *&locallist, const int np, const int me, const int minw, const short *olap) |
void | partition (const BBox &wbbox, BBox &mybbox, const int np, const int me) |
int | dist () const |
void | set_dist (const int disttype) |
void | set_dist (const int disttype, BBoxList &bbl) |
void | set_workfunc (void *workfunc) |
unsigned long | get_load (GridUnitList &list, const short *olap) |
The partioner.
DAGHDistribution::DAGHDistribution | ( | const int | disttype | ) | [inline] |
DAGHDistribution::DAGHDistribution | ( | const int | disttype, | |
BBoxList & | bbl | |||
) |
References Bucket< Type >::first(), Bucket< Type >::next(), and Bucket< Type >::number().
DAGHDistribution::~DAGHDistribution | ( | ) | [inline] |
int DAGHDistribution::dist | ( | ) | const [inline] |
unsigned long DAGHDistribution::get_load | ( | GridUnitList & | list, | |
const short * | olap | |||
) |
References GridUnitList::levels(), GridUnitList::load(), and GridUnitList::numelems().
References BBox::_empty_bbox, DAGH_X, DAGH_Y, DAGH_Z, DAGHBlockAllDistribution, DAGHBlockXDistribution, DAGHBlockXYDistribution, DAGHBlockXZDistribution, DAGHBlockYDistribution, DAGHBlockYZDistribution, DAGHBlockZDistribution, DAGHCompositeDistribution, DAGHUserDefDistribution, partition_all(), partition_one(), and partition_two().
void DAGHDistribution::partition | ( | GridUnitList *& | globallist, | |
GridUnitList *& | locallist, | |||
const int | np, | |||
const int | me, | |||
const int | minw, | |||
const short * | olap | |||
) |
References DAGH_X, DAGH_Y, DAGH_Z, DAGHBlockAllDistribution, DAGHBlockXDistribution, DAGHBlockXYDistribution, DAGHBlockXZDistribution, DAGHBlockYDistribution, DAGHBlockYZDistribution, DAGHBlockZDistribution, DAGHCompositeDistribution, and DAGHUserDefDistribution.
Referenced by GridHierarchy::DAGH_ComposeHierarchy(), and GridHierarchy::DAGH_RecomposeHierarchy().
void DAGHDistribution::set_dist | ( | const int | disttype, | |
BBoxList & | bbl | |||
) |
References Bucket< Type >::first(), Bucket< Type >::next(), and Bucket< Type >::number().
void DAGHDistribution::set_dist | ( | const int | disttype | ) | [inline] |
void DAGHDistribution::set_workfunc | ( | void * | workfunc | ) | [inline] |
Referenced by GridHierarchy::DAGH_SetWorkFunction().