Abstract base class for renumbering. More...
Public Member Functions | |
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 |
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 =0 |
Return the cell visit order (from ordered back to original cell id),. More... | |
virtual labelList | renumber (const labelListList &cellCells) const =0 |
Return the cell visit order (from ordered back to original cell id),. 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... | |
Static Public Member Functions | |
static autoPtr< renumberMethod > | New (const dictionary &dict) |
Construct/select a renumbering method. More... | |
static wordList | supportedMethods () |
Return a list of the known methods. More... | |
|
inline |
Default construct.
Definition at line 77 of file renumberMethod.H.
|
inlineexplicit |
Construct with renumber dictionary (which is currently unused)
Definition at line 83 of file renumberMethod.H.
|
virtualdefault |
Destructor.
TypeNameNoDebug | ( | "renumberMethod" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
renumberMethod | , | ||
dictionary | , | ||
(const dictionary &renumberDict) | , | ||
(renumberDict) | |||
) |
|
static |
Construct/select a renumbering method.
Definition at line 48 of file renumberMethod.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), dlLibraryTable::libs(), and dlLibraryTable::open().
|
static |
Return a list of the known methods.
Definition at line 37 of file renumberMethod.C.
|
inlinevirtual |
Renumbering method without mesh or cell-cell topology (very special case)
Reimplemented in noRenumber, and randomRenumber.
Definition at line 112 of file renumberMethod.H.
|
inlinevirtual |
Renumbering method requires a polyMesh for its topology.
Reimplemented in structuredRenumber, zoltanRenumber, and manualRenumber.
Definition at line 117 of file renumberMethod.H.
|
virtual |
Return the cell visit order (from ordered back to original cell id) based solely on the number of cells.
Only applicable for no_topology() methods.
Reimplemented in noRenumber, and randomRenumber.
Definition at line 78 of file renumberMethod.C.
References NotImplemented.
Referenced by renumberMethod::renumber().
|
virtual |
Return the cell visit order (from ordered back to original cell id) based solely on the cell centres (or number of cell centres).
Only applicable for no_topology() methods.
Reimplemented in noRenumber, and randomRenumber.
Definition at line 85 of file renumberMethod.C.
References NotImplemented.
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the mesh to determine the connectivity.
Reimplemented in structuredRenumber, springRenumber, CuthillMcKeeRenumber, noRenumber, randomRenumber, zoltanRenumber, SloanRenumber, and manualRenumber.
Definition at line 93 of file renumberMethod.C.
References globalMeshData::calcCellCells(), mesh, and Foam::renumber().
|
pure virtual |
Return the cell visit order (from ordered back to original cell id),.
cellCells | Mesh connectivity |
Implemented in structuredRenumber, springRenumber, CuthillMcKeeRenumber, noRenumber, randomRenumber, zoltanRenumber, SloanRenumber, and manualRenumber.
|
pure virtual |
Return the cell visit order (from ordered back to original cell id),.
cellCells | Mesh connectivity |
Implemented in structuredRenumber, springRenumber, noRenumber, CuthillMcKeeRenumber, randomRenumber, zoltanRenumber, manualRenumber, and SloanRenumber.
|
inlinevirtual |
Deprecated - the pointField is unused.
Definition at line 178 of file renumberMethod.H.
References mesh, and renumberMethod::renumber().
|
inlinevirtual |
Deprecated - the pointField is unused.
Definition at line 193 of file renumberMethod.H.
References renumberMethod::renumber().
|
inlinevirtual |
Deprecated - the pointField is unused.
Definition at line 208 of file renumberMethod.H.
References renumberMethod::renumber().
|
virtual |
Deprecated - renumbering with agglomeration map. Calculate globalCellCells directly.
Definition at line 106 of file renumberMethod.C.
References globalMeshData::calcCellCells(), mesh, Foam::renumber(), and UList< T >::size().