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

Go to the source code of this file.

Macros

#define _NWOEBVTOLOADBALANCE_H_
 

Functions

int NWOEBVTORelaxLoadBalance (Vector< int > &a_procs, Vector< Box > &a_boxes, const RefCountedPtr< BaseDomainBCFactory > &a_domBC, const RefCountedPtr< BaseEBBCFactory > &a_ebBC, const ProblemDomain &a_domain, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance())
 
void getNWOEBVTORelaxLoadsAndBoxes (Vector< unsigned long long > &a_loads, Vector< Box > &a_boxes, const RefCountedPtr< BaseDomainBCFactory > &a_domBC, const RefCountedPtr< BaseEBBCFactory > &a_ebBC, const DisjointBoxLayout &a_dblOrig, const ProblemDomain &a_domain, const EBIndexSpace *a_ebisPtr=Chombo_EBIS::instance())
 

Macro Definition Documentation

#define _NWOEBVTOLOADBALANCE_H_

Function Documentation

int NWOEBVTORelaxLoadBalance ( Vector< int > &  a_procs,
Vector< Box > &  a_boxes,
const RefCountedPtr< BaseDomainBCFactory > &  a_domBC,
const RefCountedPtr< BaseEBBCFactory > &  a_ebBC,
const ProblemDomain a_domain,
const EBIndexSpace a_ebisPtr = Chombo_EBIS::instance() 
)

Load balance a Vector of Boxes. The order of boxes can change so that is why it is output as well as input. This is introspective load balancing using NWOEBViscousTensorOp::relax times for loads.

void getNWOEBVTORelaxLoadsAndBoxes ( Vector< unsigned long long > &  a_loads,
Vector< Box > &  a_boxes,
const RefCountedPtr< BaseDomainBCFactory > &  a_domBC,
const RefCountedPtr< BaseEBBCFactory > &  a_ebBC,
const DisjointBoxLayout a_dblOrig,
const ProblemDomain a_domain,
const EBIndexSpace a_ebisPtr = Chombo_EBIS::instance() 
)