Sloan renumbering algorithm. More...
Public Member Functions | |
TypeName ("Sloan") | |
Runtime type information. More... | |
SloanRenumber (const bool reverse=false) | |
Default construct, optionally with reverse. More... | |
SloanRenumber (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
virtual | ~SloanRenumber ()=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... | |
Sloan renumbering algorithm.
E.g. http://www.apav.it/sito_ratio/file_pdf/ratio_4/capitolo_1.pdf
Definition at line 47 of file SloanRenumber.H.
|
explicit |
Default construct, optionally with reverse.
Definition at line 87 of file SloanRenumber.C.
|
explicit |
Construct given the renumber dictionary.
Definition at line 94 of file SloanRenumber.C.
|
virtualdefault |
Destructor.
TypeName | ( | "Sloan" | ) |
Runtime type information.
|
inlinenoexcept |
Toggle reverse on/off.
Definition at line 91 of file SloanRenumber.H.
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the mesh to determine the connectivity.
Reimplemented from renumberMethod.
Definition at line 159 of file SloanRenumber.C.
References polyMesh::boundaryMesh(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), Foam::constant::universal::G, mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nCells(), primitiveMesh::nInternalFaces(), pp(), and syncTools::swapBoundaryFaceList().
|
virtual |
Return the cell visit order (from ordered back to original cell id)
Implements renumberMethod.
Definition at line 219 of file SloanRenumber.C.
References forAll, Foam::constant::universal::G, and CompactListList< T >::size().
|
virtual |
Return the cell visit order (from ordered back to original cell id)
Implements renumberMethod.
Definition at line 243 of file SloanRenumber.C.
References forAll, Foam::constant::universal::G, and UList< T >::size().