27 Partition(): refno(0), load(0.0), node(-1), mapped(0) {};
28 inline int operator==(
const Partition &p)
const {
return origin[0]==p.origin[0] && origin[1]==p.origin[1] && origin[2]==p.origin[2] && corner[0]==p.corner[0] && corner[1]==p.corner[1] && corner[2]==p.corner[2]; }
45 enum {XDIR=0, YDIR, ZDIR};
47 ComputeLoad *computeLoad;
48 VecArray *(vArray[3]);
49 Partition *partitions;
50 Partition top_partition;
55 void rec_divide(
int, Partition&);
56 void setVal(
int x,
int y,
int z);
57 int sort_partition(
int x,
int p,
int r);
58 void qsort(
int x,
int p,
int r);
59 void quicksort(
int x);
60 void mapPartitionsToNodes();
66 int nPatches,
int nPes);
int operator==(const AtomSigInfo &s1, const AtomSigInfo &s2)
AlgRecBisection(computeInfo *computeArray, patchInfo *patchArray, processorInfo *processorArray, int nComps, int nPatches, int nPes)