Cuthill-McKee renumbering (CM or RCM) More...
Public Member Functions | |
TypeNameNoDebug ("CuthillMcKee") | |
Runtime type information. More... | |
CuthillMcKeeRenumber (const bool reverse=false) | |
Default construct, optionally with reverse. More... | |
CuthillMcKeeRenumber (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
CuthillMcKeeRenumber (const dictionary &dict, const bool reverse) | |
Construct given the renumber dictionary (ignored) and specified reverse handling. More... | |
virtual | ~CuthillMcKeeRenumber ()=default |
Destructor. More... | |
void | reverse (bool on) noexcept |
Toggle reverse on/off. More... | |
virtual labelList | renumber (const polyMesh &mesh) const |
Return the cell visit order (from ordered back to original cell id) using the mesh to determine the connectivity. More... | |
virtual labelList | renumber (const CompactListList< label > &cellCells) const |
Return the cell visit order (from ordered back to original cell id). More... | |
virtual labelList | renumber (const labelListList &cellCells) const |
Return the cell visit order (from ordered back to original cell id). More... | |
Public Member Functions inherited from renumberMethod | |
TypeNameNoDebug ("renumberMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict)) | |
renumberMethod () | |
Default construct. More... | |
renumberMethod (const dictionary &) | |
Construct with renumber dictionary (which is currently unused) More... | |
virtual | ~renumberMethod ()=default |
Destructor. More... | |
virtual bool | no_topology () const |
Renumbering method without mesh or cell-cell topology (very special case) More... | |
virtual bool | needs_mesh () const |
Renumbering method requires a polyMesh for its topology. More... | |
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 cells. More... | |
virtual labelList | renumber (const pointField &) const |
Return the cell visit order (from ordered back to original cell id) based solely on the cell centres (or number of cell centres). More... | |
virtual labelList | renumber (const polyMesh &mesh, const pointField &) const |
Deprecated - the pointField is unused. More... | |
virtual labelList | renumber (const CompactListList< label > &cellCells, const pointField &) const |
Deprecated - the pointField is unused. More... | |
virtual labelList | renumber (const labelListList &cellCells, const pointField &) const |
Deprecated - the pointField is unused. More... | |
virtual labelList | renumber (const polyMesh &mesh, const labelUList &fineToCoarse, const pointField &coarsePoints) const |
Deprecated - renumbering with agglomeration map. Calculate globalCellCells directly. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from renumberMethod | |
static autoPtr< renumberMethod > | New (const dictionary &dict) |
Construct/select a renumbering method. More... | |
static wordList | supportedMethods () |
Return a list of the known methods. More... | |
Cuthill-McKee renumbering (CM or RCM)
Definition at line 48 of file CuthillMcKeeRenumber.H.
|
explicit |
Default construct, optionally with reverse.
Definition at line 60 of file CuthillMcKeeRenumber.C.
|
explicit |
Construct given the renumber dictionary.
Definition at line 67 of file CuthillMcKeeRenumber.C.
CuthillMcKeeRenumber | ( | const dictionary & | dict, |
const bool | reverse | ||
) |
Construct given the renumber dictionary (ignored) and specified reverse handling.
Definition at line 79 of file CuthillMcKeeRenumber.C.
|
virtualdefault |
Destructor.
TypeNameNoDebug | ( | "CuthillMcKee" | ) |
Runtime type information.
|
inlinenoexcept |
Toggle reverse on/off.
Definition at line 98 of file CuthillMcKeeRenumber.H.
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the mesh to determine the connectivity.
mesh | Mesh connectivity (see globalMeshData::calcCellCells) |
Reimplemented from renumberMethod.
Definition at line 107 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), mesh, and Foam::reverse().
|
virtual |
Return the cell visit order (from ordered back to original cell id).
cellCells | Mesh connectivity |
Implements renumberMethod.
Definition at line 123 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), and Foam::reverse().
|
virtual |
Return the cell visit order (from ordered back to original cell id).
cellCells | Mesh connectivity |
Implements renumberMethod.
Definition at line 139 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), and Foam::reverse().