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...
#include <structuredRenumber.H>


Classes | |
| class | layerLess |
| Function class for sorting according to column and layer. More... | |
Public Member Functions | |
| TypeName ("structured") | |
| Runtime type information. | |
| structuredRenumber (const dictionary &dict) | |
| Construct given the renumber dictionary. | |
| virtual | ~structuredRenumber ()=default |
| Destructor. | |
| virtual bool | needs_mesh () const |
| Renumbering method requires a polyMesh! | |
| virtual labelList | renumber (const polyMesh &mesh) const |
| Return the cell visit order (from ordered back to original cell id). | |
| virtual labelList | renumber (const CompactListList< label > &cellCells) const |
| Return the cell visit order (from ordered back to original cell id). Not implemented! | |
| virtual labelList | renumber (const labelListList &cellCells) const |
| Return the cell visit order (from ordered back to original cell id). Not implemented! | |
| Public Member Functions inherited from renumberMethod | |
| TypeNameNoDebug ("renumberMethod") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict)) | |
| renumberMethod () | |
| Default construct. | |
| renumberMethod (const dictionary &) | |
| Construct with renumber dictionary (which is currently unused). | |
| virtual | ~renumberMethod ()=default |
| Destructor. | |
| virtual bool | no_topology () const |
| Renumbering method without mesh or cell-cell topology (very special case). | |
| 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. | |
| 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). | |
| virtual labelList | renumber (const polyMesh &mesh, const pointField &) const |
| Deprecated - the pointField is unused. | |
| virtual labelList | renumber (const CompactListList< label > &cellCells, const pointField &) const |
| Deprecated - the pointField is unused. | |
| virtual labelList | renumber (const labelListList &cellCells, const pointField &) const |
| Deprecated - the pointField is unused. | |
| virtual labelList | renumber (const polyMesh &mesh, const labelUList &fineToCoarse, const pointField &coarsePoints) const |
| Deprecated - renumbering with agglomeration map. Calculate globalCellCells directly. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from renumberMethod | |
| static autoPtr< renumberMethod > | New (const dictionary &dict) |
| Construct/select a renumbering method. | |
| static wordList | supportedMethods () |
| Return a list of the known methods. | |
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 45 of file structuredRenumber.C.
References dict, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, Foam::labelMax, renumberMethod::New(), and renumberMethod::renumberMethod().

|
virtualdefault |
Destructor.
| TypeName | ( | "structured" | ) |
Runtime type information.
References dict.
|
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 131 of file structuredRenumber.C.
References fvMeshSubset::cellMap(), Foam::endl(), forAll, Foam::Info, HashSet< Key, Hash >::insert(), Foam::invert(), FaceCellWave< Type, TrackingData >::iterate(), mesh, Foam::nl, FaceCellWaveBase::nUnvisitedCells(), patchId(), patchIDs, pbm, pp(), Foam::renumber(), Foam::returnReduce(), Foam::reverse(), HashTable< T, Key, Hash >::size(), UList< T >::size(), Foam::sortedOrder(), fvMeshSubset::subMesh(), globalIndex::toGlobal(), and Foam::type().

|
inlinevirtual |
Return the cell visit order (from ordered back to original cell id). Not implemented!
Implements renumberMethod.
Definition at line 167 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 180 of file structuredRenumber.H.
References NotImplemented.