97 #ifndef _LOADBALANCE_H_ 98 #define _LOADBALANCE_H_ 106 #include "NamespaceHeader.H" 145 const int a_LBnumProc =
numProc());
153 const int a_LBnumProc =
numProc());
160 const int a_LBnumProc =
numProc());
170 const int a_numProc =
numProc());
190 const Box& a_localGridBox,
191 const int a_numProc =
numProc());
193 #include "NamespaceFooter.H" one dimensional dynamic array
Definition: Vector.H:53
int basicLoadBalance(Vector< int > &a_procAssignments, int numBoxes, int a_numProc=numProc())
int LoadBalance(Vector< Vector< int > > &a_procAssignments, Real &a_effRatio, const Vector< Vector< Box > > &a_Grids, const Vector< Vector< long > > &a_ComputeLoads, const Vector< int > &a_RefRatios, int a_nProc=numProc())
unsigned int numProc()
number of parallel processes
double Real
Definition: REAL.H:33
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
int UnLongLongLoadBalance(Vector< int > &a_procAssignments, const Vector< unsigned long long > &a_computeLoads, const Vector< Box > &a_boxes, const int a_numProc=numProc())