Chombo + EB + MF  3.2
Macros | Functions
EBEllipticLoadBalance.H File Reference
#include "Box.H"
#include "ProblemDomain.H"
#include "Vector.H"
#include "REAL.H"
#include "EBIndexSpace.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for EBEllipticLoadBalance.H:

Go to the source code of this file.

Macros

#define _EBELLIPTICLOADBALANCE_H_
 

Functions

int EBEllipticLoadBalance (Vector< int > &a_proc, const Vector< Box > &a_boxes, const ProblemDomain &a_domain, bool a_verbose=false, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance())
 
void getPoissonLoadsAndBoxes (Vector< unsigned long long > &a_loads, Vector< Box > &a_boxes, const DisjointBoxLayout &a_dblOrig, const ProblemDomain &a_domain, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance())
 
void resetLoadOrder (Vector< unsigned long long > &a_loads, Vector< Box > &a_newBoxes, Vector< Box > &a_oldBoxes)
 

Macro Definition Documentation

#define _EBELLIPTICLOADBALANCE_H_

Function Documentation

int EBEllipticLoadBalance ( Vector< int > &  a_proc,
const Vector< Box > &  a_boxes,
const ProblemDomain a_domain,
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.

void getPoissonLoadsAndBoxes ( Vector< unsigned long long > &  a_loads,
Vector< Box > &  a_boxes,
const DisjointBoxLayout a_dblOrig,
const ProblemDomain a_domain,
const EBIndexSpace a_ebisPtr = Chombo_EBIS::instance() 
)
void resetLoadOrder ( Vector< unsigned long long > &  a_loads,
Vector< Box > &  a_newBoxes,
Vector< Box > &  a_oldBoxes 
)