51 auto* ctorPtr = dictionaryConstructorTable(methodType);
60 *dictionaryConstructorTablePtr_
132 renumber(coarseCellCells, coarsePoints)
138 forAll(fineDistribution, i)
140 fineDistribution[i] = coarseDistribution[fineToCoarse[i]];
143 return fineDistribution;
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited (ie. from ordered back to original cell label)...
void size(const label n)
Older name for setAddressableSize.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values (not the indices) of a list.
static autoPtr< renumberMethod > New(const dictionary &renumberDict)
Return a reference to the selected renumbering method.
static void calcCellCells(const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells)
Helper: determine (local or global) cellCells from mesh.
#define forAll(list, i)
Loop across all elements in list.
Abstract base class for renumbering.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
List< SubListType > unpack() const
Return non-compact list of lists.
A class for handling words, derived from Foam::string.
A packed storage unstructured matrix of objects of type <T> using an offset table for access...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
label nCells() const noexcept
Number of mesh cells.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...