67 for (label iter = 0; iter < 10; iter++)
72 std::swap(newToOld[i], newToOld[j]);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
Type position(const Type &start, const Type &end)
Return a sample on the interval [start,end].
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,...
Mesh consisting of general polyhedral cells.
Random renumber. Just to see effect of renumbering.
virtual labelList renumber(const pointField &) const
Abstract base class for renumbering.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
IntListType renumber(const labelUList &oldToNew, const IntListType &input)
Renumber the values (not the indices) of a list.
#define forAll(list, i)
Loop across all elements in list.