Go to the documentation of this file.
51 Foam::CuthillMcKeeRenumber::CuthillMcKeeRenumber(
const dictionary& renumberDict)
56 renumberDict.optionalSubDict
59 ).getOrDefault(
"reverse", false)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
void reverse(UList< T > &list, const label n)
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.
labelList bandCompression(const labelListList &addressing)
Renumbers the addressing to reduce the band of the matrix.
A packed storage unstructured matrix of objects of type <T> using an offset table for access.
virtual labelList renumber(const pointField &) const
Return the order in which cells need to be visited, i.e.
Mesh consisting of general polyhedral cells.
label nCells() const noexcept
Number of mesh cells.
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.
The bandCompression function renumbers the addressing such that the band of the matrix is reduced....
Abstract base class for renumbering.
labelList identity(const label len, label start=0)
Create identity map of the given length with (map[i] == i)
defineTypeNameAndDebug(combustionModel, 0)