Renumbering according to mesh layers. depthFirst = true: first column gets ids 0..nLayer-1, second nLayers..2*nLayers-1 etc. depthFirst = false: first layer gets ids 0,1,2 etc. More...
Classes | |
class | layerLess |
Function class for sorting according to column and layer. More... | |
Public Member Functions | |
TypeName ("structured") | |
Runtime type information. More... | |
structuredRenumber (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
virtual | ~structuredRenumber ()=default |
Destructor. More... | |
virtual bool | needs_mesh () const |
Renumbering method requires a polyMesh! More... | |
virtual labelList | renumber (const polyMesh &mesh) const |
Return the cell visit order (from ordered back to original cell id) More... | |
virtual labelList | renumber (const CompactListList< label > &cellCells) const |
Return the cell visit order (from ordered back to original cell id). Not implemented! More... | |
virtual labelList | renumber (const labelListList &cellCells) const |
Return the cell visit order (from ordered back to original cell id). Not implemented! 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 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... | |
Renumbering according to mesh layers. depthFirst = true: first column gets ids 0..nLayer-1, second nLayers..2*nLayers-1 etc. depthFirst = false: first layer gets ids 0,1,2 etc.
Definition at line 53 of file structuredRenumber.H.
|
explicit |
Construct given the renumber dictionary.
Definition at line 46 of file structuredRenumber.C.
|
virtualdefault |
Destructor.
TypeName | ( | "structured" | ) |
Runtime type information.
|
inlinevirtual |
Renumbering method requires a polyMesh!
Reimplemented from renumberMethod.
Definition at line 145 of file structuredRenumber.H.
|
virtual |
Return the cell visit order (from ordered back to original cell id)
using the mesh.
Reimplemented from renumberMethod.
Definition at line 132 of file structuredRenumber.C.
References fvMeshSubset::cellMap(), Foam::endl(), forAll, Foam::Info, HashSet< Key, Hash >::insert(), Foam::invert(), mesh, Foam::nl, patchId(), patchIDs(), pbm, pp(), returnReduce(), Foam::reverse(), UList< T >::size(), HashTable< T, Key, Hash >::size(), Foam::sortedOrder(), and fvMeshSubset::subMesh().
|
inlinevirtual |
Return the cell visit order (from ordered back to original cell id). Not implemented!
Implements renumberMethod.
Definition at line 168 of file structuredRenumber.H.
References NotImplemented.
|
inlinevirtual |
Return the cell visit order (from ordered back to original cell id). Not implemented!
Implements renumberMethod.
Definition at line 181 of file structuredRenumber.H.
References NotImplemented.