manualRenumber Class Reference

Renumber given a ordered-to-original cell association in a file. More...

Inheritance diagram for manualRenumber:
[legend]
Collaboration diagram for manualRenumber:
[legend]

Public Member Functions

 TypeName ("manual")
 Runtime type information. More...
 
 manualRenumber (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
virtual ~manualRenumber ()=default
 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 ()=default
 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

Renumber given a ordered-to-original cell association in a file.

Source files

Definition at line 48 of file manualRenumber.H.

Constructor & Destructor Documentation

◆ manualRenumber()

manualRenumber ( const dictionary renumberDict)

Construct given the renumber dictionary.

Definition at line 51 of file manualRenumber.C.

◆ ~manualRenumber()

virtual ~manualRenumber ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "manual"  )

Runtime type information.

◆ renumber() [1/3]

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 86 of file manualRenumber.H.

◆ renumber() [2/3]

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

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

from ordered back to original cell label. Use the mesh connectivity (if needed)

Reimplemented from renumberMethod.

Definition at line 65 of file manualRenumber.C.

References IOobject::AUTO_WRITE, Foam::endl(), Foam::exit(), polyMesh::facesInstance(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, IOobject::MUST_READ, and points.

Here is the call graph for this function:

◆ renumber() [3/3]

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 106 of file manualRenumber.H.

References NotImplemented.


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