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 | |
structuredRenumber (const structuredRenumber &)=delete | |
No copy construct. More... | |
void | operator= (const structuredRenumber &)=delete |
No copy assignment. More... | |
TypeName ("structured") | |
Runtime type information. More... | |
structuredRenumber (const dictionary &renumberDict) | |
Construct given the renumber dictionary. More... | |
virtual | ~structuredRenumber ()=default |
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 ()=default |
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... | |
Public Attributes | |
const dictionary | methodDict_ |
const wordRes | patches_ |
const label | nLayers_ |
const bool | depthFirst_ |
const bool | reverse_ |
const autoPtr< renumberMethod > | method_ |
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 56 of file structuredRenumber.H.
|
delete |
No copy construct.
structuredRenumber | ( | const dictionary & | renumberDict | ) |
Construct given the renumber dictionary.
Definition at line 53 of file structuredRenumber.C.
|
virtualdefault |
Destructor.
|
delete |
No copy 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 135 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 139 of file structuredRenumber.C.
References fvMeshSubset::cellMap(), Foam::endl(), Foam::exit(), polyPatch::faceCells(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, HashSet< Key, Hash >::insert(), Foam::invert(), mesh, Foam::nl, patchId(), polyBoundaryMesh::patchSet(), points, Foam::renumber(), Foam::returnReduce(), Foam::reverse(), HashTable< T, Key, Hash >::size(), Foam::sortedOrder(), polyPatch::start(), and fvMeshSubset::subMesh().
|
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 155 of file structuredRenumber.H.
References NotImplemented.
const dictionary methodDict_ |
Definition at line 92 of file structuredRenumber.H.
const wordRes patches_ |
Definition at line 94 of file structuredRenumber.H.
const label nLayers_ |
Definition at line 96 of file structuredRenumber.H.
const bool depthFirst_ |
Definition at line 98 of file structuredRenumber.H.
const bool reverse_ |
Definition at line 100 of file structuredRenumber.H.
const autoPtr<renumberMethod> method_ |
Definition at line 102 of file structuredRenumber.H.