59 for (label& val : finalDecomp)
73 for (label& val : finalDecomp)
141 return randomMap(globalCellCells.
size());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Type position(const Type &start, const Type &end)
Return a sample on the interval [start,end].
void size(const label n)
Older name for setAddressableSize.
Abstract base class for domain decomposition.
label nDomains_
Number of domains for the decomposition.
static const dictionary & findCoeffsDict(const dictionary &dict, const word &coeffsName, int select=selectionType::DEFAULT)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Mesh consisting of general polyhedral cells.
label nCells() const noexcept
Number of mesh cells.
Decomposition according to pseudo-random number generator, which is useful for development and stress...
bool decompose() const noexcept
Query the decompose flag (normally off)
A class for handling words, derived from Foam::string.
#define defineTypeName(Type)
Define the typeName.
Foam::word regionName(Foam::polyMesh::defaultRegion)
List< label > labelList
A List of labels.