decompositionMethods: Added checks for multiple constraints

Multi-constraint load-balancing is only supported by the Zoltan rcb method and
ParMETIS.
This commit is contained in:
Henry Weller
2024-05-29 12:34:15 +01:00
parent eb68840577
commit 4d0b466775
11 changed files with 121 additions and 18 deletions

View File

@ -61,6 +61,24 @@ protected:
PtrList<decompositionConstraint> constraints_;
// Protected member functions
//- Return the number of weights per point
label nWeights
(
const pointField& points,
const scalarField& pointWeights
) const;
//- Check the weights against the points
// and return the number of weights per point
label checkWeights
(
const pointField& points,
const scalarField& pointWeights
) const;
public:
//- Runtime type information