35 namespace decompositionMethods
63 decompositionDict.optionalSubDict
65 word(decompositionDict.lookup(
"method")) +
"Coeffs"
66 ).lookupOrDefault<
label>(
"seed",
clock::getTime())
80 checkWeights(
points, pointWeights);
97 position[i] =
rndGen.sample01<scalar>();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Read access to the system clock with formatting.
Abstract base class for decomposition.
Random decomposition. Good for testing. Very bad for anything else.
virtual labelList decompose(const polyMesh &mesh, const pointField &cellCentres, const scalarField &cellWeights)
Return for every coordinate the wanted processor number. Use the.
random(const dictionary &decompositionDict)
Construct given the decomposition dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
defineTypeNameAndDebug(metis, 0)
addToRunTimeSelectionTable(decompositionMethod, metis, decomposer)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int order(const scalar s)
void sortedOrder(const UList< T > &, labelList &order)
Generate the (stable) sort order for the list.
randomGenerator rndGen(653213)