Public Member Functions | List of all members
springRenumber Class Reference

Use spring analogy - attract neighbouring cells according to the distance of their cell indices. More...

Inheritance diagram for springRenumber:
Inheritance graph
[legend]
Collaboration diagram for springRenumber:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("spring")
 
 springRenumber (const dictionary &renumberDict)
 
virtual ~springRenumber ()=default
 
virtual labelList renumber (const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cc) const
 
- Public Member Functions inherited from renumberMethod
 TypeName ("renumberMethod")
 
 declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
 
 renumberMethod (const dictionary &renumberDict)
 
virtual ~renumberMethod ()=default
 
virtual labelList renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const labelList &cellToRegion, const pointField &regionPoints) const
 

Additional Inherited Members

- Static Public Member Functions inherited from renumberMethod
static autoPtr< renumberMethodNew (const dictionary &renumberDict)
 
- Protected Attributes inherited from renumberMethod
const dictionaryrenumberDict_
 

Detailed Description

Use spring analogy - attract neighbouring cells according to the distance of their cell indices.

Maximum jump of cell indices. Is fraction of number of cells maxCo 0.1;

Limit the amount of movement; the fraction maxCo gets decreased with every iteration. freezeFraction 0.9;

Maximum number of iterations maxIter 1000;

Source files

Definition at line 55 of file springRenumber.H.

Constructor & Destructor Documentation

◆ springRenumber()

springRenumber ( const dictionary renumberDict)

Definition at line 43 of file springRenumber.C.

◆ ~springRenumber()

virtual ~springRenumber ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "spring"  )

◆ renumber() [1/3]

virtual labelList renumber ( const pointField ) const
inlinevirtual

Reimplemented from renumberMethod.

Definition at line 99 of file springRenumber.H.

References NotImplemented.

◆ renumber() [2/3]

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

Reimplemented from renumberMethod.

Definition at line 56 of file springRenumber.C.

References decompositionMethod::calcCellCells(), Foam::identity(), mesh, primitiveMesh::nCells(), points, and Foam::renumber().

Here is the call graph for this function:

◆ renumber() [3/3]

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

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