44 namespace decompositionMethods
Abstract base class for decomposition.
Random decomposition. Good for testing. Very bad for anything else.
TypeName("random")
Runtime type information.
virtual ~random()
Destructor.
virtual labelList decompose(const polyMesh &mesh, const pointField &cellCentres, const scalarField &cellWeights)
Return for every coordinate the wanted processor number. Use the.
void operator=(const random &)=delete
Disallow default bitwise assignment.
random(const dictionary &decompositionDict, const dictionary &methodDict)
Construct given the decomposition dictionary.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh consisting of general polyhedral cells.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.