Loading...
Searching...
No Matches
structuredRenumber Class Reference

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>

Inheritance diagram for structuredRenumber:
Collaboration diagram for structuredRenumber:

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< renumberMethodNew (const dictionary &dict)
 Construct/select a renumbering method.
static wordList supportedMethods ()
 Return a list of the known methods.

Detailed Description

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.

Source files

Definition at line 53 of file structuredRenumber.H.

Constructor & Destructor Documentation

◆ structuredRenumber()

structuredRenumber ( const dictionary & dict)
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().

Here is the call graph for this function:

◆ ~structuredRenumber()

virtual ~structuredRenumber ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "structured" )

Runtime type information.

References dict.

◆ needs_mesh()

virtual bool needs_mesh ( ) const
inlinevirtual

Renumbering method requires a polyMesh!

Reimplemented from renumberMethod.

Definition at line 145 of file structuredRenumber.H.

◆ renumber() [1/3]

◆ renumber() [2/3]

virtual labelList renumber ( const CompactListList< label > & cellCells) const
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.

◆ renumber() [3/3]

virtual labelList renumber ( const labelListList & cellCells) const
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.


The documentation for this class was generated from the following files: