|
waLBerla 7.4
|
#include <StaticParMetis.h>
Public Types | |
| enum | Algorithm { PARMETIS_PART_GEOM_KWAY , PARMETIS_PART_KWAY } |
| enum | WeightsToUse { PARMETIS_NO_WEIGHTS = 0 , PARMETIS_EDGE_WEIGHTS = 1 , PARMETIS_VERTEX_WEIGHTS = 2 , PARMETIS_BOTH_WEIGHTS = 3 } |
| using | BlockPair = std::pair<const SetupBlock *, const SetupBlock *> |
| using | CommWeightFunction = std::function<void (const std::vector<BlockPair> &, std::vector<int64_t> &)> |
Public Member Functions | |
| StaticLevelwiseParMetis (const Algorithm algorithm=PARMETIS_PART_GEOM_KWAY) | |
| StaticLevelwiseParMetis (const CommWeightFunction &commWeightFunction, const Algorithm algorithm=PARMETIS_PART_GEOM_KWAY, const WeightsToUse weightsToUse=PARMETIS_BOTH_WEIGHTS) | |
| uint_t | operator() (SetupBlockForest &forest, const uint_t numberOfProcesses, const memory_t perProcessMemoryLimit) const |
| bool | edgeWeightsUsed () const |
| bool | vertexWeightsUsed () const |
Static Public Member Functions | |
| static Algorithm | stringToAlgorithm (std::string s) |
| static WeightsToUse | stringToWeightsToUse (std::string s) |
Protected Attributes | |
| Algorithm | algorithm_ |
| WeightsToUse | weightsToUse_ |
| CommWeightFunction | commWeightFunction_ |
| using walberla::blockforest::StaticLevelwiseParMetis::BlockPair = std::pair<const SetupBlock *, const SetupBlock *> |
| using walberla::blockforest::StaticLevelwiseParMetis::CommWeightFunction = std::function<void (const std::vector<BlockPair> &, std::vector<int64_t> &)> |
|
inline |
|
inline |
|
inline |
| uint_t walberla::blockforest::StaticLevelwiseParMetis::operator() | ( | SetupBlockForest & | forest, |
| const uint_t | numberOfProcesses, | ||
| const memory_t | perProcessMemoryLimit ) const |
|
static |
|
static |
|
inline |
|
protected |
|
protected |
|
protected |