Encapsulates queries for volume refinement ('refine all cells within shell'). More...
Public Types | |
enum | refineMode { INSIDE, OUTSIDE, DISTANCE } |
Volume refinement controls. More... | |
Public Member Functions | |
shellSurfaces (const searchableSurfaces &allGeometry, const dictionary &shellsDict) | |
Construct from geometry and dictionary. More... | |
label | maxLevel () const |
Highest shell level. More... | |
void | findHigherLevel (const pointField &pt, const labelList &ptLevel, labelList &maxLevel) const |
Find shell level higher than ptLevel. More... | |
Encapsulates queries for volume refinement ('refine all cells within shell').
Definition at line 52 of file shellSurfaces.H.
enum refineMode |
Volume refinement controls.
Enumerator | |
---|---|
INSIDE | |
OUTSIDE | |
DISTANCE |
Definition at line 59 of file shellSurfaces.H.
shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
const dictionary & | shellsDict | ||
) |
Construct from geometry and dictionary.
Definition at line 352 of file shellSurfaces.C.
References dict, entry::dict(), Foam::endl(), ILList< LListBase, T >::erase(), forAll, dictionary::found(), IOWarningInFunction, entry::keyword(), dictionary::lookup(), dictionary::lookupEntryPtr(), searchableSurfaces::names(), and dictionary::toc().
Referenced by NamedEnum< Enum, nEnum >::names().
Foam::label maxLevel | ( | ) | const |
Highest shell level.
Definition at line 425 of file shellSurfaces.C.
References forAll, and Foam::max().
void findHigherLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
labelList & | maxLevel | ||
) | const |
Find shell level higher than ptLevel.
Definition at line 437 of file shellSurfaces.C.
References forAll.