Go to the documentation of this file.
53 const word methodType(renumberDict.
lookup(
"method"));
57 dictionaryConstructorTable::iterator cstrIter =
58 dictionaryConstructorTablePtr_->find(methodType);
60 if (cstrIter == dictionaryConstructorTablePtr_->end())
63 <<
"Unknown renumberMethod "
64 << methodType <<
nl <<
nl
65 <<
"Valid renumberMethods are : " <<
endl
66 << dictionaryConstructorTablePtr_->sortedToc()
81 decompositionMethod::calcCellCells
115 decompositionMethod::calcCellCells
137 forAll(fineDistribution, i)
139 fineDistribution[i] = coarseDistribution[fineToCoarse[i]];
142 return fineDistribution;
A class for handling words, derived from string.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void renumberMethodsLoad()
Mesh consisting of general polyhedral cells.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited, i.e.
Pre-declare SubField and related Field type.
labelList identity(const label len)
Create identity map (map[i] == i) of given length.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static autoPtr< renumberMethod > New(const dictionary &renumberDict)
Return a reference to the selected renumbering method.
void size(const label)
Override size to be inconsistent with allocated storage.
defineTypeNameAndDebug(combustionModel, 0)
static void renumber(const labelList &map, labelList &elems)