52 #ifndef hierarchical_H
53 #define hierarchical_H
61 namespace decompositionMethods
81 void setDecompOrder();
84 static void calculateSortedWeightedSizes
89 const label globalCurrentSize,
95 static label findLower
106 static void findBinary
110 const label leftIndex,
111 const scalar leftValue,
113 const scalar wantedSize,
121 static void findBinary
126 const label leftIndex,
127 const scalar leftValue,
129 const scalar wantedSize,
141 const label prevMult,
154 const label prevMult,
202 return decompose(cellCentres, cellWeights);
230 return decompose(cellCentres, cellWeights);
Geometrical domain decomposition.
Does hierarchical decomposition of points. Works by first sorting the points in x direction into equa...
hierarchical(const dictionary &decompositionDict)
Construct given the decomposition dictionary.
TypeName("hierarchical")
Runtime type information.
void operator=(const hierarchical &)=delete
Disallow default bitwise assignment.
virtual labelList decompose(const pointField &, const scalarField &weights)
Return for every coordinate the wanted processor number.
virtual ~hierarchical()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
Direction is an 8-bit unsigned integer type used to represent the Cartesian directions etc.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.