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...
Classes | |
class | layerLess |
Less function class that can be used for sorting according to. More... | |
Public Member Functions | |
TypeName ("structured") | |
Runtime type information. More... | |
structuredRenumber (const dictionary &renumberDict) | |
Construct given the renumber dictionary. More... | |
structuredRenumber (const structuredRenumber &)=delete | |
Disallow default bitwise copy construction. 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... | |
void | operator= (const structuredRenumber &)=delete |
Disallow default bitwise assignment. 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... | |
renumberMethod (const renumberMethod &)=delete | |
Disallow default bitwise copy construction. 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... | |
void | operator= (const renumberMethod &)=delete |
Disallow default bitwise assignment. More... | |
Public Attributes | |
const dictionary | methodDict_ |
const wordReList | patches_ |
const label | nLayers_ |
const Switch | depthFirst_ |
const autoPtr< renumberMethod > | method_ |
const Switch | reverse_ |
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_ |
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 53 of file structuredRenumber.H.
structuredRenumber | ( | const dictionary & | renumberDict | ) |
Construct given the renumber dictionary.
Definition at line 50 of file structuredRenumber.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 118 of file structuredRenumber.H.
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 127 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 136 of file structuredRenumber.C.
References polyMesh::boundaryMesh(), fvMeshSubset::cellMap(), Foam::endl(), Foam::exit(), polyPatch::faceCells(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIter, FaceCellWave< Type, TrackingData >::getUnsetCells(), polyMesh::globalData(), Foam::Info, HashSet< Key, Hash >::insert(), Foam::invert(), FaceCellWave< Type, TrackingData >::iterate(), primitiveMesh::nCells(), primitiveMesh::nFaces(), Foam::nl, globalMeshData::nTotalCells(), polyBoundaryMesh::patchSet(), points, Foam::renumber(), Foam::returnReduce(), Foam::reverse(), fvMeshSubset::setLargeCellSubset(), HashTable< T, Key, Hash >::size(), UPtrList< T >::size(), List< T >::size(), Foam::sortedOrder(), polyPatch::start(), fvMeshSubset::subMesh(), globalIndex::toGlobal(), and Foam::type().
|
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 146 of file structuredRenumber.H.
|
delete |
Disallow default bitwise assignment.
const dictionary methodDict_ |
Definition at line 89 of file structuredRenumber.H.
const wordReList patches_ |
Definition at line 91 of file structuredRenumber.H.
const label nLayers_ |
Definition at line 93 of file structuredRenumber.H.
const Switch depthFirst_ |
Definition at line 95 of file structuredRenumber.H.
const autoPtr<renumberMethod> method_ |
Definition at line 97 of file structuredRenumber.H.
const Switch reverse_ |
Definition at line 99 of file structuredRenumber.H.