Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

LoadBalance.H File Reference

#include "SPACE.H"
#include "REAL.H"
#include "Box.H"
#include "Vector.H"
#include "BoxLayout.H"
#include "SPMD.H"

Include dependency graph for LoadBalance.H:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int LoadBalance (Vector< Vector< int > > &a_procAssignments,Real &a_effRatio,const Vector< Vector< Box > > &a_Grids,const Vector< Vector< long > > &a_ComputeLoads,const Vector< int > &a_RefRatios,int a_nProc=numProc())
int LoadBalance (Vector< BoxLayout > &Grids,Real &effRatio,const Vector< Vector< long > > &ComputeLoads,const Vector< int > &RefRatios,int nProc=numProc())
int LoadBalance (Vector< int > &procAssignments, const Vector< Box > &boxes, int a_numProc=numProc())
int LoadBalance (Vector< int > &procAssignments,Real &effRatio,const Vector< Box > &Grids,const Vector< long > &ComputeLoads)


Function Documentation

int LoadBalance Vector< int > &  procAssignments,
Real effRatio,
const Vector< Box > &  Grids,
const Vector< long > &  ComputeLoads
 

int LoadBalance Vector< int > &  procAssignments,
const Vector< Box > &  boxes,
int  a_numProc = numProc()
 

convenience function to load balance a Vector of Boxes based on load=box.numPts()

int LoadBalance Vector< BoxLayout > &  Grids,
Real effRatio,
const Vector< Vector< long > > &  ComputeLoads,
const Vector< int > &  RefRatios,
int  nProc = numProc()
 

Grids in-out: input grids to balance and output proc. numbers effRatio output: ratio of min load to max load ComputeLoads input: computational cost of each box RefRatios input: refinement ratio for each level

int LoadBalance Vector< Vector< int > > &  a_procAssignments,
Real a_effRatio,
const Vector< Vector< Box > > &  a_Grids,
const Vector< Vector< long > > &  a_ComputeLoads,
const Vector< int > &  a_RefRatios,
int  a_nProc = numProc()
 

procAssignments output: processor number for each box effRatio output: ratio of min load to max load Grids input: meshes to balance ComputeLoads input: computational cost of each box RefRatios input: refinement ratio for each level


Generated on Wed Jun 2 13:56:22 2004 for Chombo&INSwithParticles by doxygen 1.3.2