SloanRenumber Class Reference

Sloan renumbering algorithm. More...

Inheritance diagram for SloanRenumber:
Collaboration diagram for SloanRenumber:

Public Member Functions

 TypeName ("Sloan")
 Runtime type information. More...
 
 SloanRenumber (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
 SloanRenumber (const SloanRenumber &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~SloanRenumber ()
 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...
 
void operator= (const SloanRenumber &)=delete
 Disallow default bitwise assignment. 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...
 
 renumberMethod (const renumberMethod &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const renumberMethod &)=delete
 Disallow default bitwise assignment. 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

Sloan renumbering algorithm.

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

Source files

Definition at line 49 of file SloanRenumber.H.

Constructor & Destructor Documentation

◆ SloanRenumber() [1/2]

SloanRenumber ( const dictionary renumberDict)

Construct given the renumber dictionary.

Definition at line 90 of file SloanRenumber.C.

◆ SloanRenumber() [2/2]

SloanRenumber ( const SloanRenumber )
delete

Disallow default bitwise copy construction.

◆ ~SloanRenumber()

virtual ~SloanRenumber ( )
inlinevirtual

Destructor.

Definition at line 74 of file SloanRenumber.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Sloan"  )

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 83 of file SloanRenumber.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 105 of file SloanRenumber.C.

References polyMesh::boundaryMesh(), Foam::constant::universal::c, polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, Foam::constant::universal::G, primitiveMesh::nCells(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), patchi, Foam::reverse(), syncTools::swapBoundaryFaceList(), Foam::type(), and Foam::vertices().

Here is the call graph for this function:

◆ renumber() [3/3]

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

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 206 of file SloanRenumber.C.

References Foam::constant::universal::c, forAll, Foam::constant::universal::G, Foam::reverse(), List< T >::size(), Foam::type(), and Foam::vertices().

Here is the call graph for this function:

◆ operator=()

void operator= ( const SloanRenumber )
delete

Disallow default bitwise assignment.


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