Renumbering according to mesh layers. depthFirst = true: first column gets ids 0..nLayer-1, second nLayers..2*nLayers-1 etc. depthFirst = false: first layer gets ids 0,1,2 etc. More...
Public Member Functions | |
TypeName ("structured") | |
Runtime type information. More... | |
structuredRenumber (const dictionary &renumberDict) | |
Construct given the renumber dictionary. More... | |
virtual | ~structuredRenumber () |
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... | |
![]() | |
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... | |
Private Member Functions | |
void | operator= (const structuredRenumber &) |
Disallow default bitwise copy construct and assignment. More... | |
structuredRenumber (const structuredRenumber &) | |
Private Attributes | |
const dictionary | methodDict_ |
const wordReList | patches_ |
const Switch | depthFirst_ |
const autoPtr< renumberMethod > | method_ |
const Switch | reverse_ |
Additional Inherited Members | |
![]() | |
static autoPtr< renumberMethod > | New (const dictionary &renumberDict) |
Return a reference to the selected renumbering method. More... | |
![]() | |
const dictionary & | renumberDict_ |
Renumbering according to mesh layers. depthFirst = true: first column gets ids 0..nLayer-1, second nLayers..2*nLayers-1 etc. depthFirst = false: first layer gets ids 0,1,2 etc.
Definition at line 52 of file structuredRenumber.H.
|
private |
structuredRenumber | ( | const dictionary & | renumberDict | ) |
Construct given the renumber dictionary.
Definition at line 50 of file structuredRenumber.C.
|
inlinevirtual |
Destructor.
Definition at line 89 of file structuredRenumber.H.
|
private |
Disallow default bitwise copy construct and assignment.
TypeName | ( | "structured" | ) |
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 98 of file structuredRenumber.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 from renumberMethod.
Definition at line 67 of file structuredRenumber.C.
References fvMeshSubset::cellMap(), FaceCellWave< Type, TrackingData >::data(), Foam::endl(), Foam::exit(), polyPatch::faceCells(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIter(), Foam::Info, HashSet< Key, Hash >::insert(), Foam::invert(), mesh, Foam::nl, patchFaces(), polyBoundaryMesh::patchSet(), points, renumber(), Foam::returnReduce(), Foam::reverse(), fvMeshSubset::setLargeCellSubset(), List::size(), PtrList::size(), HashTable::size(), polyPatch::start(), fvMeshSubset::subMesh(), Foam::type(), and WarningInFunction.
|
inlinevirtual |
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 118 of file structuredRenumber.H.
References NotImplemented.
|
private |
Definition at line 58 of file structuredRenumber.H.
|
private |
Definition at line 60 of file structuredRenumber.H.
|
private |
Definition at line 62 of file structuredRenumber.H.
|
private |
Definition at line 64 of file structuredRenumber.H.
|
private |
Definition at line 66 of file structuredRenumber.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.