|
Chombo + EB
3.0
|
#include "Box.H"#include "ProblemDomain.H"#include "Vector.H"#include "REAL.H"#include "EBIndexSpace.H"#include "NamespaceHeader.H"#include "NamespaceFooter.H"
Go to the source code of this file.
Macros | |
| #define | _EBLOADBALANCE_H_ |
Functions | |
| int | EBLoadBalance (Vector< int > &a_proc, const Vector< Box > &a_boxes, const ProblemDomain &a_domain, int a_coveredLoad=10, int a_irregFactor=10, bool a_verbose=false, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance()) |
| #define _EBLOADBALANCE_H_ |
| int EBLoadBalance | ( | Vector< int > & | a_proc, |
| const Vector< Box > & | a_boxes, | ||
| const ProblemDomain & | a_domain, | ||
| int | a_coveredLoad = 10, |
||
| int | a_irregFactor = 10, |
||
| bool | a_verbose = false, |
||
| const EBIndexSpace * | a_ebisPtr = Chombo_EBIS::instance() |
||
| ) |
Load balance a Vector of Boxes. We make the loads bases on a few ad hoc ideas. we shall make fully covered boxes = constant load = covered load we shall say that irregular points get irregular factor more load than regular points.
1.8.13