Public Member Functions | List of all members
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...

Inheritance diagram for structuredRenumber:
Inheritance graph
[legend]
Collaboration diagram for structuredRenumber:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("structured")
 Runtime type information. More...
 
 structuredRenumber (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
virtual ~structuredRenumber ()
 Destructor. More...
 
virtual labelList renumber (const pointField &) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cc) const
 Return the order in which cells need to be visited, i.e. More...
 
- Public Member Functions inherited from renumberMethod
 TypeName ("renumberMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
 
 renumberMethod (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
virtual ~renumberMethod ()
 Destructor. More...
 
virtual labelList renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const polyMesh &mesh, const labelList &cellToRegion, const pointField &regionPoints) const
 Return the order in which cells need to be visited, i.e. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from renumberMethod
static autoPtr< renumberMethodNew (const dictionary &renumberDict)
 Return a reference to the selected renumbering method. More...
 
- Protected Attributes inherited from renumberMethod
const dictionaryrenumberDict_
 

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 52 of file structuredRenumber.H.

Constructor & Destructor Documentation

structuredRenumber ( const dictionary renumberDict)

Construct given the renumber dictionary.

Definition at line 50 of file structuredRenumber.C.

References structuredRenumber::renumber().

Here is the call graph for this function:

virtual ~structuredRenumber ( )
inlinevirtual

Destructor.

Definition at line 89 of file structuredRenumber.H.

References mesh, NotImplemented, and structuredRenumber::renumber().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "structured"  )

Runtime type information.

virtual labelList renumber ( const pointField ) const
inlinevirtual

Return the order in which cells need to be visited, i.e.

from ordered back to original cell label. This is only defined for geometric renumberMethods.

Reimplemented from renumberMethod.

Definition at line 98 of file structuredRenumber.H.

Referenced by structuredRenumber::structuredRenumber(), and structuredRenumber::~structuredRenumber().

Here is the caller graph for this function:

Foam::labelList renumber ( const polyMesh mesh,
const pointField cc 
) const
virtual
virtual labelList renumber ( const labelListList cellCells,
const pointField cc 
) const
inlinevirtual

Return the order in which cells need to be visited, i.e.

from ordered back to original cell label. The connectivity is equal to mesh.cellCells() except

  • the connections are across coupled patches

Implements renumberMethod.

Definition at line 118 of file structuredRenumber.H.

References NotImplemented.


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