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

 TypeNameNoDebug ("manual")
 Runtime type information. More...
 
 manualRenumber (const fileName &file)
 Construct with given data file. More...
 
 manualRenumber (const dictionary &dict)
 Construct given the renumber dictionary. More...
 
virtual ~manualRenumber ()=default
 Destructor. More...
 
virtual bool needs_mesh () const
 The renumbering method needs a polyMesh (for its IOobject) More...
 
virtual labelList renumber (const polyMesh &mesh) const
 Return the cell visit order (from ordered back to original cell id) using the mesh for its IOobject and instance. More...
 
virtual labelList renumber (const CompactListList< label > &cellCells) const
 Return the cell visit order (from ordered back to original cell id) Not implemented! More...
 
virtual labelList renumber (const labelListList &cellCells) const
 Return the cell visit order (from ordered back to original cell id) Not implemented! 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 no_topology () const
 Renumbering method without mesh or cell-cell topology (very special case) 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 the cell centres (or number of cell centres). 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< renumberMethodNew (const dictionary &dict)
 Construct/select a renumbering method. More...
 
static wordList supportedMethods ()
 Return a list of the known methods. More...
 

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() [1/2]

manualRenumber ( const fileName file)
explicit

Construct with given data file.

Definition at line 43 of file manualRenumber.C.

◆ manualRenumber() [2/2]

manualRenumber ( const dictionary dict)
explicit

Construct given the renumber dictionary.

Definition at line 50 of file manualRenumber.C.

◆ ~manualRenumber()

virtual ~manualRenumber ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeNameNoDebug()

TypeNameNoDebug ( "manual"  )

Runtime type information.

◆ needs_mesh()

virtual bool needs_mesh ( ) const
inlinevirtual

The renumbering method needs a polyMesh (for its IOobject)

Reimplemented from renumberMethod.

Definition at line 85 of file manualRenumber.H.

◆ renumber() [1/3]

Foam::labelList renumber ( const polyMesh mesh) const
virtual

Return the cell visit order (from ordered back to original cell id) using the mesh for its IOobject and instance.

Reimplemented from renumberMethod.

Definition at line 63 of file manualRenumber.C.

References Foam::endl(), Foam::exit(), polyMesh::facesInstance(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, IOobjectOption::MUST_READ, primitiveMesh::nCells(), Foam::nl, IOList< label >::readContents(), and fvMesh::thisDb().

Here is the call graph for this function:

◆ 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 104 of file manualRenumber.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 117 of file manualRenumber.H.

References NotImplemented.


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