Chombo + EB  3.2
Macros | Functions
EBLoadBalance.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 EBLoadBalance.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, const int &a_ghosts=0, int a_coveredLoad=10, int a_irregFactor=10, bool a_verbose=false, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance())
 

Macro Definition Documentation

◆ _EBLOADBALANCE_H_

#define _EBLOADBALANCE_H_

Function Documentation

◆ EBLoadBalance()

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