Go to the documentation of this file.
64 #ifndef hierarchGeomDecomp_H
65 #define hierarchGeomDecomp_H
78 class hierarchGeomDecomp
85 FixedList<direction, 3> order_;
105 static void calculateSortedWeightedSizes
110 const label globalCurrentSize,
120 static bool findBinary
124 const label leftIndex,
125 const scalar leftValue,
127 const scalar wantedSize,
135 static bool findBinary
140 const label leftIndex,
141 const scalar leftValue,
143 const scalar wantedSize,
156 const label prevMult,
170 const label prevMult,
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,...
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
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...
Does hierarchical decomposition of points, selectable as hierarchical.
virtual ~hierarchGeomDecomp()=default
Destructor.