manualRenumber Class Reference

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

Inheritance diagram for manualRenumber:
Collaboration diagram for manualRenumber:

Public Member Functions

 TypeName ("manual")
 Runtime type information. More...
 
 manualRenumber (const dictionary &dict)
 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 (ie. from ordered back to original cell label). More...
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 Return the order in which cells need to be visited (ie. from ordered back to original cell label). More...
 
virtual labelList renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const
 Return the order in which cells need to be visited (ie. from ordered back to original cell label). More...
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cellCentres) const
 Return the order in which cells need to be visited (ie. from ordered back to original cell label). More...
 
- Public Member Functions inherited from renumberMethod
 TypeName ("renumberMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
 
 renumberMethod (const dictionary &dict)
 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 (ie. from ordered back to original cell label). More...
 
virtual labelList renumber (const polyMesh &mesh, const labelList &fineToCoarse, const pointField &coarsePoints) const
 Return the order in which cells need to be visited (ie. from ordered back to original cell label). 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 Member Functions inherited from renumberMethod
 renumberMethod (const renumberMethod &)=delete
 No copy construct. More...
 
void operator= (const renumberMethod &)=delete
 No copy assignment. 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 45 of file manualRenumber.H.

Constructor & Destructor Documentation

◆ manualRenumber()

manualRenumber ( const dictionary dict)
explicit

Construct given the renumber dictionary.

Definition at line 44 of file manualRenumber.C.

◆ ~manualRenumber()

virtual ~manualRenumber ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "manual"  )

Runtime type information.

◆ renumber() [1/4]

virtual labelList renumber ( const pointField ) const
inlinevirtual

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Reimplemented from renumberMethod.

Definition at line 94 of file manualRenumber.H.

References NotImplemented.

◆ renumber() [2/4]

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

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Uses mesh for regIOobject

Reimplemented from renumberMethod.

Definition at line 57 of file manualRenumber.C.

References Foam::endl(), Foam::exit(), polyMesh::facesInstance(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, IOobjectOption::MUST_READ, Foam::nl, points, UList< T >::size(), and fvMesh::thisDb().

Here is the call graph for this function:

◆ renumber() [3/4]

virtual labelList renumber ( const CompactListList< label > &  cellCells,
const pointField cellCentres 
) const
inlinevirtual

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Reimplemented from renumberMethod.

Definition at line 117 of file manualRenumber.H.

References NotImplemented.

◆ renumber() [4/4]

virtual labelList renumber ( const labelListList cellCells,
const pointField cellCentres 
) const
inlinevirtual

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Implements renumberMethod.

Definition at line 131 of file manualRenumber.H.

References NotImplemented.


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