Abstract base class for renumbering. More...
Public Member Functions | |
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 |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
virtual labelList | renumber (const polyMesh &, const pointField &) const |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
virtual labelList | renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
virtual labelList | renumber (const polyMesh &mesh, const labelList &fineToCoarse, const pointField &coarsePoints) const |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
virtual labelList | renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
virtual labelList | renumber (const labelListList &cellCells, const pointField &cellCentres) const =0 |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
Static Public Member Functions | |
static autoPtr< renumberMethod > | New (const dictionary &renumberDict) |
Return a reference to the selected renumbering method. More... | |
Protected Member Functions | |
renumberMethod (const renumberMethod &)=delete | |
No copy construct. More... | |
void | operator= (const renumberMethod &)=delete |
No copy assignment. More... | |
Protected Attributes | |
const dictionary & | renumberDict_ |
|
protecteddelete |
No copy construct.
|
inlineexplicit |
Construct given the renumber dictionary.
Definition at line 107 of file renumberMethod.H.
|
virtualdefault |
Destructor.
|
protecteddelete |
No copy assignment.
TypeName | ( | "renumberMethod" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
renumberMethod | , | ||
dictionary | , | ||
(const dictionary &renumberDict) | , | ||
(renumberDict) | |||
) |
|
static |
Return a reference to the selected renumbering method.
Definition at line 36 of file renumberMethod.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInLookup.
|
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 in structuredRenumber, springRenumber, SloanRenumber, CuthillMcKeeRenumber, zoltanRenumber, manualRenumber, and randomRenumber.
Definition at line 127 of file renumberMethod.H.
References NotImplemented.
|
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 in structuredRenumber, springRenumber, SloanRenumber, CuthillMcKeeRenumber, zoltanRenumber, manualRenumber, and randomRenumber.
Definition at line 64 of file renumberMethod.C.
References Foam::identity(), mesh, points, and Foam::renumber().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Addressing in losort addressing (= neighbour + offsets into neighbour)
Reimplemented in CuthillMcKeeRenumber.
Definition at line 94 of file renumberMethod.C.
References NotImplemented.
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Gets passed agglomeration map (from fine to coarse cells) and coarse cell location. Can be overridden by renumberMethods that provide this functionality natively. Coarse cells are local to the processor (if in parallel). If you want to have coarse cells spanning processors use the globalCellCells instead.
Definition at line 106 of file renumberMethod.C.
References forAll, mesh, Foam::renumber(), and UList< T >::size().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Uses 'unpack' internally, so should be overloaded when possible
Reimplemented in structuredRenumber, springRenumber, CuthillMcKeeRenumber, SloanRenumber, zoltanRenumber, manualRenumber, and randomRenumber.
Definition at line 84 of file renumberMethod.C.
References points, Foam::renumber(), and CompactListList< T >::unpack().
|
pure 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
Implemented in structuredRenumber, springRenumber, CuthillMcKeeRenumber, SloanRenumber, zoltanRenumber, manualRenumber, and randomRenumber.
|
protected |
Definition at line 53 of file renumberMethod.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.