71 labelIOList::readContents
87 <<
"Size of renumber list does not correspond " 88 <<
"to the number of points. Size: " 89 << newToOld.size() <<
" Number of points: " 91 <<
".\n" <<
"Manual renumbering data read from file " 92 << dataFile_ <<
"." <<
endl 100 const label origCelli = newToOld[i];
102 if (origCelli < 0 || origCelli >=
points.
size())
105 <<
"Renumbering is not one-to-one. Index " 106 << i <<
" maps onto original cell " << origCelli
107 <<
".\n" <<
"Manual renumbering data read from file " 112 if (oldToNew[origCelli] == -1)
114 oldToNew[origCelli] = i;
119 <<
"Renumbering is not one-to-one. Index " << i <<
" and " 120 << oldToNew[origCelli] <<
" map onto " << origCelli <<
nl 121 <<
"Manual renumbering data read from file " 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.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
#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)
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...
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)