CuthillMcKeeRenumber Class Reference

Cuthill-McKee renumbering. More...

Inheritance diagram for CuthillMcKeeRenumber:
Collaboration diagram for CuthillMcKeeRenumber:

Public Member Functions

 TypeName ("CuthillMcKee")
 Runtime type information. More...
 
 CuthillMcKeeRenumber (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
 CuthillMcKeeRenumber (const CuthillMcKeeRenumber &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~CuthillMcKeeRenumber ()
 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 labelList &cellCells, const labelList &offsets, 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 CuthillMcKeeRenumber &)=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 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

Cuthill-McKee renumbering.

Source files

Definition at line 47 of file CuthillMcKeeRenumber.H.

Constructor & Destructor Documentation

◆ CuthillMcKeeRenumber() [1/2]

CuthillMcKeeRenumber ( const dictionary renumberDict)

Construct given the renumber dictionary.

Definition at line 48 of file CuthillMcKeeRenumber.C.

References CuthillMcKeeRenumber::renumber().

Here is the call graph for this function:

◆ CuthillMcKeeRenumber() [2/2]

Disallow default bitwise copy construction.

◆ ~CuthillMcKeeRenumber()

virtual ~CuthillMcKeeRenumber ( )
inlinevirtual

Destructor.

Definition at line 72 of file CuthillMcKeeRenumber.H.

References mesh, NotImplemented, CuthillMcKeeRenumber::operator=(), and CuthillMcKeeRenumber::renumber().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "CuthillMcKee"  )

Runtime type information.

◆ renumber() [1/4]

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 81 of file CuthillMcKeeRenumber.H.

Referenced by CuthillMcKeeRenumber::CuthillMcKeeRenumber(), CuthillMcKeeRenumber::renumber(), and CuthillMcKeeRenumber::~CuthillMcKeeRenumber().

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, i.e.

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

Reimplemented from renumberMethod.

Definition at line 64 of file CuthillMcKeeRenumber.C.

References Foam::bandCompression(), decompositionMethod::calcCellCells(), Foam::identity(), UCompactListList< T >::list(), primitiveMesh::nCells(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().

Here is the call graph for this function:

◆ renumber() [3/4]

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

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

from ordered back to original cell label. Connectivity in losort addressing (= neighbour + offsets into neighbour)

Reimplemented from renumberMethod.

Definition at line 91 of file CuthillMcKeeRenumber.C.

References Foam::bandCompression(), CuthillMcKeeRenumber::renumber(), and Foam::reverse().

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, 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 109 of file CuthillMcKeeRenumber.C.

References Foam::bandCompression(), and Foam::reverse().

Here is the call graph for this function:

◆ operator=()

void operator= ( const CuthillMcKeeRenumber )
delete

Disallow default bitwise assignment.

Referenced by CuthillMcKeeRenumber::~CuthillMcKeeRenumber().

Here is the caller graph for this function:

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