Cuthill-McKee renumbering. More...
Public Member Functions | |
TypeName ("CuthillMcKee") | |
Runtime type information. More... | |
CuthillMcKeeRenumber (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
virtual | ~CuthillMcKeeRenumber ()=default |
Destructor. More... | |
virtual labelList | renumber (const pointField &) const |
virtual labelList | renumber (const polyMesh &mesh, const pointField &cc) const |
virtual labelList | renumber (const labelList &cellCells, const labelList &offsets, const pointField &cc) const |
virtual labelList | renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const |
virtual labelList | renumber (const labelListList &cellCells, const pointField &cellCentres) const |
Public Member Functions inherited from renumberMethod | |
TypeName ("renumberMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict)) | |
renumberMethod (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
virtual | ~renumberMethod ()=default |
Destructor. More... | |
virtual labelList | renumber (const pointField &) const |
virtual labelList | renumber (const polyMesh &, const pointField &) const |
virtual labelList | renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const |
virtual labelList | renumber (const polyMesh &mesh, const labelList &fineToCoarse, const pointField &coarsePoints) const |
virtual labelList | renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const |
virtual labelList | renumber (const labelListList &cellCells, const pointField &cellCentres) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from renumberMethod | |
static autoPtr< renumberMethod > | New (const dictionary &renumberDict) |
Return a reference to the selected renumbering method. More... | |
Protected Member Functions inherited from renumberMethod | |
renumberMethod (const renumberMethod &)=delete | |
No copy construct. More... | |
void | operator= (const renumberMethod &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from renumberMethod | |
const dictionary & | renumberDict_ |
|
explicit |
Construct given the renumber dictionary.
Definition at line 51 of file CuthillMcKeeRenumber.C.
|
virtualdefault |
Destructor.
References NotImplemented.
TypeName | ( | "CuthillMcKee" | ) |
Runtime type information.
|
inlinevirtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
This is only defined for geometric renumberMethods.
Reimplemented from renumberMethod.
Definition at line 88 of file CuthillMcKeeRenumber.H.
Referenced by CuthillMcKeeRenumber::renumber().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Use the mesh connectivity (if needed)
Reimplemented from renumberMethod.
Definition at line 64 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), Foam::identity(), mesh, primitiveMesh::nCells(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Connectivity in losort addressing (= neighbour + offsets into neighbour)
Reimplemented from renumberMethod.
Definition at line 91 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Reimplemented from renumberMethod.
Definition at line 109 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
The connectivity is equal to mesh.cellCells() except
Implements renumberMethod.
Definition at line 126 of file CuthillMcKeeRenumber.C.
References Foam::meshTools::bandCompression(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().