Sloan renumbering algorithm. More...
Public Member Functions | |
TypeName ("Sloan") | |
Runtime type information. More... | |
SloanRenumber (const dictionary &renumberDict) | |
Construct given the renumber dictionary. 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... | |
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... | |
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 ®ionPoints) const |
Return the order in which cells need to be visited, i.e. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from renumberMethod | |
static autoPtr< renumberMethod > | New (const dictionary &renumberDict) |
Return a reference to the selected renumbering method. More... | |
Protected Attributes inherited from renumberMethod | |
const dictionary & | renumberDict_ |
Sloan renumbering algorithm.
E.g. http://www.apav.it/sito_ratio/file_pdf/ratio_4/capitolo_1.pdf
Definition at line 49 of file SloanRenumber.H.
SloanRenumber | ( | const dictionary & | renumberDict | ) |
Construct given the renumber dictionary.
Definition at line 90 of file SloanRenumber.C.
References SloanRenumber::renumber().
|
inlinevirtual |
Destructor.
Definition at line 78 of file SloanRenumber.H.
References mesh, NotImplemented, and SloanRenumber::renumber().
TypeName | ( | "Sloan" | ) |
Runtime type information.
|
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 87 of file SloanRenumber.H.
Referenced by SloanRenumber::renumber(), SloanRenumber::SloanRenumber(), and SloanRenumber::~SloanRenumber().
|
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 106 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, SloanRenumber::renumber(), Foam::reverse(), UPtrList< T >::size(), syncTools::swapBoundaryFaceList(), and Foam::vertices().
|
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
Implements renumberMethod.
Definition at line 207 of file SloanRenumber.C.
References Foam::constant::universal::c, forAll, Foam::constant::universal::G, Foam::reverse(), List< T >::size(), and Foam::vertices().