53 renumberDict.optionalSubDict(typeName+
"Coeffs").lookup(
"dataFile")
84 <<
"Size of renumber list does not correspond "
85 <<
"to the number of points. Size: "
86 << newToOld.size() <<
" Number of points: "
88 <<
".\n" <<
"Manual renumbering data read from file "
89 << dataFile_ <<
"." <<
endl
97 label origCelli = newToOld[i];
99 if (origCelli < 0 || origCelli >=
points.
size())
102 <<
"Renumbering is not one-to-one. Index "
103 << i <<
" maps onto original cell " << origCelli
104 <<
".\n" <<
"Manual renumbering data read from file "
105 << dataFile_ <<
"." <<
endl
109 if (oldToNew[origCelli] == -1)
111 oldToNew[origCelli] = i;
116 <<
"Renumbering is not one-to-one. Both index "
117 << oldToNew[origCelli]
118 <<
" and " << i <<
" map onto " << origCelli
119 <<
".\n" <<
"Manual renumbering data read from file "
120 << dataFile_ <<
"." <<
endl
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Renumber given a ordered-to-original cell association in a file.
manualRenumber(const dictionary &renumberDict)
Construct given the renumber dictionary.
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited, i.e.
Mesh consisting of general polyhedral cells.
const fileName & facesInstance() const
Return the current instance directory for faces.
Abstract base class for renumbering.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)