Go to the documentation of this file.
65 #ifndef hierarchGeomDecomp_H
66 #define hierarchGeomDecomp_H
77 class hierarchGeomDecomp
87 const UList<scalar>& list,
94 static void calculateSortedWeightedSizes
99 const label globalCurrentSize,
109 static bool findBinary
113 const label leftIndex,
114 const scalar leftValue,
116 const scalar wantedSize,
124 static bool findBinary
129 const label leftIndex,
130 const scalar leftValue,
132 const scalar wantedSize,
145 const label prevMult,
159 const label prevMult,
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void operator=(const hierarchGeomDecomp &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
Mesh consisting of general polyhedral cells.
Base for geometrical domain decomposition methods.
label findLower(const ListType &input, const T &val, const label start, const ComparePredicate &comp)
void checkDecompositionDirections(const Vector< label > &) const
Check that mesh directions are compatible with decomposition.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool parallelAware() const
Hierarchical is aware of processor boundaries.
TypeName("hierarchical")
Runtime type information.
virtual labelList decompose(const pointField &, const scalarField &weights) const
Return for every coordinate the wanted processor number.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
hierarchGeomDecomp(const hierarchGeomDecomp &)=delete
No copy construct.
Does hierarchical decomposition of points, selectable as hierarchical.
virtual ~hierarchGeomDecomp()=default
Destructor.