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 &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 pointField &) const |
Return the order in which cells need to be visited, i.e. More... | |
virtual labelList | renumber (const polyMesh &, const pointField &) 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 &) 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... | |
virtual labelList | renumber (const labelListList &cellCells, const pointField &cc) const =0 |
Return the order in which cells need to be visited, i.e. More... | |
void | operator= (const renumberMethod &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< renumberMethod > | New (const dictionary &renumberDict) |
Return a reference to the selected renumbering method. More... | |
Protected Attributes | |
const dictionary & | renumberDict_ |
|
inline |
Construct given the renumber dictionary.
Definition at line 81 of file renumberMethod.H.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 100 of file renumberMethod.H.
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 43 of file renumberMethod.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, Foam::libs, dictionary::lookup(), Foam::nl, and dlLibraryTable::open().
|
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 in SloanRenumber, structuredRenumber, springRenumber, randomRenumber, manualRenumber, and CuthillMcKeeRenumber.
Definition at line 109 of file renumberMethod.H.
|
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 in SloanRenumber, structuredRenumber, springRenumber, randomRenumber, manualRenumber, and CuthillMcKeeRenumber.
Definition at line 76 of file renumberMethod.C.
References decompositionMethod::calcCellCells(), Foam::identityMap(), UCompactListList< T >::list(), primitiveMesh::nCells(), points, and Foam::renumber().
|
virtual |
Return the order in which cells need to be visited, i.e.
from ordered back to original cell label. Addressing in losort addressing (= neighbour + offsets into neighbour)
Reimplemented in CuthillMcKeeRenumber.
Definition at line 97 of file renumberMethod.C.
References NotImplemented.
|
virtual |
Return the order in which cells need to be visited, i.e.
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 109 of file renumberMethod.C.
References decompositionMethod::calcCellCells(), forAll, UCompactListList< T >::list(), Foam::renumber(), and List< T >::size().
|
pure 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
Implemented in SloanRenumber, structuredRenumber, springRenumber, randomRenumber, manualRenumber, and CuthillMcKeeRenumber.
|
delete |
Disallow default bitwise assignment.
|
protected |
Definition at line 55 of file renumberMethod.H.