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

Go to the source code of this file.

Macros

#define _MFELLIPTICLOADBALANCE_H_
 

Functions

int MFEllipticLoadBalance (Vector< int > &a_proc, const Vector< Box > &a_boxes, RefCountedPtr< MFIndexSpace > &a_mfis, const ProblemDomain &a_domain, bool a_verbose=false)
 
void getPoissonLoadsAndBoxes (Vector< unsigned long long > &a_loads, Vector< Box > &a_boxes, RefCountedPtr< MFIndexSpace > &a_mfis, const DisjointBoxLayout &a_dblOrig, const ProblemDomain &a_domain)
 

Macro Definition Documentation

◆ _MFELLIPTICLOADBALANCE_H_

#define _MFELLIPTICLOADBALANCE_H_

Function Documentation

◆ MFEllipticLoadBalance()

int MFEllipticLoadBalance ( Vector< int > &  a_proc,
const Vector< Box > &  a_boxes,
RefCountedPtr< MFIndexSpace > &  a_mfis,
const ProblemDomain a_domain,
bool  a_verbose = false 
)

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.

◆ getPoissonLoadsAndBoxes()

void getPoissonLoadsAndBoxes ( Vector< unsigned long long > &  a_loads,
Vector< Box > &  a_boxes,
RefCountedPtr< MFIndexSpace > &  a_mfis,
const DisjointBoxLayout a_dblOrig,
const ProblemDomain a_domain 
)