51 Foam::CuthillMcKeeRenumber::CuthillMcKeeRenumber(
const dictionary&
dict)
56 dict.optionalSubDict(typeName +
"Coeffs")
57 .getOrDefault(
"reverse", false)
111 const CompactListList<label>& cellCells,
List< labelList > labelListList
A List of labelList.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Macros for easy insertion into run-time selection tables.
static void calcCellCells(const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells)
Helper: determine (local or global) cellCells from mesh.
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)
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 unstructured matrix of objects of type <T> using an offset table for access...
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
label nCells() const noexcept
Number of mesh cells.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.