86 <<
"Size of renumber list does not correspond " 87 <<
"to the number of points. Size: " 88 << newToOld.size() <<
" Number of points: " 90 <<
".\n" <<
"Manual renumbering data read from file " 91 << dataFile_ <<
"." <<
endl 99 const label origCelli = newToOld[i];
101 if (origCelli < 0 || origCelli >=
points.
size())
104 <<
"Renumbering is not one-to-one. Index " 105 << i <<
" maps onto original cell " << origCelli
106 <<
".\n" <<
"Manual renumbering data read from file " 107 << dataFile_ <<
"." <<
endl 111 if (oldToNew[origCelli] == -1)
113 oldToNew[origCelli] = i;
118 <<
"Renumbering is not one-to-one. Both index " 119 << oldToNew[origCelli]
120 <<
" and " << i <<
" map onto " << origCelli
121 <<
".\n" <<
"Manual renumbering data read from file " 122 << dataFile_ <<
"." <<
endl 127 return std::move(newToOld);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
void size(const label n)
Older name for setAddressableSize.
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const fileName & facesInstance() const
Return the current instance directory for faces.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
Abstract base class for renumbering.
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited (ie. from ordered back to original cell label)...
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Automatically write from objectRegistry::writeObject()
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
Defines the attributes of an object for which implicit objectRegistry management is supported...