51 Foam::CuthillMcKeeRenumber::CuthillMcKeeRenumber(
const dictionary&
dict)
56 dict.optionalSubDict(typeName +
"Coeffs")
57 .getOrDefault(
"reverse", false)
111 const CompactListList<label>& cellCells,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static void calcCellCells(const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool parallel, CompactListList< label > &cellCells)
Determine (local or global) cellCells from mesh agglomeration.
List< labelList > labelListList
List of labelList.
Macros for easy insertion into run-time selection tables.
Abstract base class for renumbering.
The bandCompression function renumbers the addressing such that the band of the matrix is reduced...
vectorField pointField
pointField is a vectorField.
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...
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited (ie. from ordered back to original cell label)...
void reverse(UList< T > &list, const label n)
Reverse the first n elements of the list.
A packed storage of objects of type <T> using an offset table for access.
defineTypeNameAndDebug(combustionModel, 0)
label nCells() const noexcept
Number of mesh cells.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)