Random renumber. Just to see effect of renumbering. More...
Public Member Functions | |
TypeName ("random") | |
Runtime type information. More... | |
randomRenumber (const dictionary &dict) | |
Construct given the renumber dictionary. More... | |
virtual | ~randomRenumber ()=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 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 |
Return the order in which cells need to be visited (ie. from ordered back to original cell label). More... | |
Public Member Functions inherited from renumberMethod | |
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 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... | |
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 Member Functions inherited from renumberMethod | |
renumberMethod (const renumberMethod &)=delete | |
No copy construct. More... | |
void | operator= (const renumberMethod &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from renumberMethod | |
const dictionary & | renumberDict_ |
Random renumber. Just to see effect of renumbering.
Definition at line 45 of file randomRenumber.H.
|
explicit |
Construct given the renumber dictionary.
Definition at line 43 of file randomRenumber.C.
|
virtualdefault |
Destructor.
TypeName | ( | "random" | ) |
Runtime type information.
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Reimplemented from renumberMethod.
Definition at line 52 of file randomRenumber.C.
References forAll, Foam::identity(), points, Random::position(), rndGen, and UList< T >::size().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Reimplemented from renumberMethod.
Definition at line 73 of file randomRenumber.C.
References points, and Foam::renumber().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Reimplemented from renumberMethod.
Definition at line 83 of file randomRenumber.C.
References points, and Foam::renumber().
|
virtual |
Return the order in which cells need to be visited (ie. from ordered back to original cell label).
Implements renumberMethod.
Definition at line 93 of file randomRenumber.C.
References points, and Foam::renumber().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.