SloanRenumber Class Reference

Sloan renumbering algorithm. More...

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

Public Member Functions

 TypeName ("Sloan")
 Runtime type information. More...
 
 SloanRenumber (const dictionary &dict)
 Construct given the renumber dictionary. More...
 
virtual ~SloanRenumber ()=default
 Destructor. More...
 
virtual labelList renumber (const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 
virtual labelList renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cc) const
 
- 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 pointField &) const
 
virtual labelList renumber (const polyMesh &, const pointField &) const
 
virtual labelList renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const labelList &fineToCoarse, const pointField &coarsePoints) const
 
virtual labelList renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cellCentres) const =0
 

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

Sloan renumbering algorithm.

E.g. http://www.apav.it/sito_ratio/file_pdf/ratio_4/capitolo_1.pdf

Source files

Definition at line 51 of file SloanRenumber.H.

Constructor & Destructor Documentation

◆ SloanRenumber()

SloanRenumber ( const dictionary dict)
explicit

Construct given the renumber dictionary.

Definition at line 92 of file SloanRenumber.C.

◆ ~SloanRenumber()

virtual ~SloanRenumber ( )
virtualdefault

Destructor.

References NotImplemented.

Member Function Documentation

◆ TypeName()

TypeName ( "Sloan"  )

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).

This is only defined for geometric renumberMethods.

Reimplemented from renumberMethod.

Definition at line 90 of file SloanRenumber.H.

Referenced by SloanRenumber::renumber().

Here is the caller graph for this function:

◆ 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).

Use the mesh connectivity (if needed)

Reimplemented from renumberMethod.

Definition at line 156 of file SloanRenumber.C.

References polyMesh::boundaryMesh(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, mesh, primitiveMesh::nBoundaryFaces(), primitiveMesh::nCells(), SloanRenumber::renumber(), UList< T >::size(), and syncTools::swapBoundaryFaceList().

Here is the call graph for this function:

◆ renumber() [3/4]

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

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

Reimplemented from renumberMethod.

Definition at line 217 of file SloanRenumber.C.

References forAll, SloanRenumber::renumber(), and CompactListList< T >::size().

Here is the call graph for this function:

◆ renumber() [4/4]

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

Return the order in which cells need to be visited (ie. 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 242 of file SloanRenumber.C.

References forAll, SloanRenumber::renumber(), and UList< T >::size().

Here is the call graph for this function:

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