ug4
load_balancing.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TElem , class TIterator , class TAAPos >
bool ug::PartitionElements_RegularGrid (SubsetHandler &shOut, TIterator begin, TIterator end, int numCellsX, int numCellsY, int numCellsZ, TAAPos &aaPos, typename Grid::traits< TElem >::callback cbConsiderElem=ConsiderAll(), int bucketSubset=-1)
 Partitions the elements in the grid by sorting them into a regular grid. More...
 
template<class TGeomBaseObj >
bool ug::PartitionGrid_MetisKway (SubsetHandler &shPartitionOut, Grid &grid, int numParts)
 Partitions the elements in the grid using the METIS library. More...
 
template<class TGeomBaseObj >
bool ug::PartitionMultiGrid_MetisKway (SubsetHandler &shPartitionOut, MultiGrid &grid, int numParts, size_t baseLevel, boost::function< int(TGeomBaseObj *, TGeomBaseObj *)> &weightFct)
 Partitions the elements in the multi-grid using the METIS library. More...
 
template<class TGeomBaseObj >
bool ug::PartitionMultiGrid_MetisKway (SubsetHandler &shPartitionOut, MultiGrid &grid, int numParts, size_t baseLevel=0, int hWeight=1, int vWeight=1)
 Partitions the elements in the multi-grid using the METIS library. More...
 
template<class TGeomBaseObj >
bool ug::PartitionMultiGridLevel_MetisKway (SubsetHandler &shPartitionOut, MultiGrid &mg, int numParts, size_t level)
 Partitions the elements in the multi-grid using the METIS library. More...
 
template<class TGeomBaseObj >
bool ug::PartitionMultiGridLevel_ParmetisKway (SubsetHandler &shPartitionOut, MultiGrid &mg, int numParts, size_t level)
 Partitions the elements in the multi-grid using the PARMETIS library. More...