61 for (label i = nCells - 1; i > 0; --i)
64 std::swap(newToOld[i], newToOld[j]);
labelList randomMap(const label nCells)
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
randomRenumber()
Default construct.
Macros for easy insertion into run-time selection tables.
defineTypeName(manifoldCellsMeshObject)
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), works like std::iota() but returning a...
A packed storage of objects of type <T> using an offset table for access.
label nCells() const noexcept
Number of mesh cells.
Mesh consisting of general polyhedral cells.
virtual labelList renumber(const label nCells) const
Return the cell visit order (from ordered back to original cell id) based solely on the number of cel...
Type position(const Type &start, const Type &end)
Return a sample on the interval [start,end].
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)