Random renumber. Just to see effect of renumbering. More...
Public Member Functions | |
TypeNameNoDebug ("random") | |
Runtime type information. More... | |
randomRenumber () | |
Default construct. More... | |
randomRenumber (const dictionary &dict) | |
Construct given the renumber dictionary (unused) More... | |
virtual | ~randomRenumber ()=default |
Destructor. More... | |
virtual bool | no_topology () const |
Renumbering method without mesh or cell-cell 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 pointField size. More... | |
virtual labelList | renumber (const polyMesh &mesh) const |
Return the cell visit order (from ordered back to original cell id) using the mesh only for the number of cells. More... | |
virtual labelList | renumber (const CompactListList< label > &cellCells) const |
Return the cell visit order (from ordered back to original cell id) using the topology only for the number of cells. More... | |
virtual labelList | renumber (const labelListList &cellCells) const |
Return the cell visit order (from ordered back to original cell id) using the topology only for the number of cells. 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 | needs_mesh () const |
Renumbering method requires a polyMesh for its topology. 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... | |
Random renumber. Just to see effect of renumbering.
Definition at line 45 of file randomRenumber.H.
randomRenumber | ( | ) |
Default construct.
Definition at line 68 of file randomRenumber.C.
|
explicit |
Construct given the renumber dictionary (unused)
Definition at line 74 of file randomRenumber.C.
|
virtualdefault |
Destructor.
TypeNameNoDebug | ( | "random" | ) |
Runtime type information.
|
inlinevirtual |
Renumbering method without mesh or cell-cell topology!
Reimplemented from renumberMethod.
Definition at line 81 of file randomRenumber.H.
|
virtual |
Return the cell visit order (from ordered back to original cell id) based solely on the number of cells.
Reimplemented from renumberMethod.
Definition at line 83 of file randomRenumber.C.
References Foam::randomMap().
|
virtual |
Return the cell visit order (from ordered back to original cell id). based solely on pointField size.
Reimplemented from renumberMethod.
Definition at line 92 of file randomRenumber.C.
References Foam::randomMap(), and UList< T >::size().
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the mesh only for the number of cells.
mesh | Mesh provides the number of cells |
Reimplemented from renumberMethod.
Definition at line 101 of file randomRenumber.C.
References mesh, primitiveMesh::nCells(), and Foam::randomMap().
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the topology only for the number of cells.
cellCells | Connectivity provides the number of cells |
Implements renumberMethod.
Definition at line 110 of file randomRenumber.C.
References Foam::randomMap(), and CompactListList< T >::size().
|
virtual |
Return the cell visit order (from ordered back to original cell id) using the topology only for the number of cells.
cellCells | Connectivity provides the number of cells |
Implements renumberMethod.
Definition at line 119 of file randomRenumber.C.
References Foam::randomMap(), and UList< T >::size().