Encapsulates queries for volume refinement ('refine all cells within shell'). More...
Public Types | |
| enum | refineMode { inside, outside, distance, insideSpan, outsideSpan } |
| 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, const scalar level0EdgeLength, labelList &maxLevel) const |
| Find shell level higher than ptLevel. More... | |
Encapsulates queries for volume refinement ('refine all cells within shell').
Definition at line 53 of file shellSurfaces.H.
|
strong |
Volume refinement controls.
| Enumerator | |
|---|---|
| inside | |
| outside | |
| distance | |
| insideSpan | |
| outsideSpan | |
Definition at line 60 of file shellSurfaces.H.
| shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
| const dictionary & | shellsDict | ||
| ) |
Construct from geometry and dictionary.
Definition at line 455 of file shellSurfaces.C.
References dict, entry::dict(), Foam::dimLength, Foam::endl(), ILList< LListBase, T >::erase(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), IOWarningInFunction, entry::keyword(), dictionary::lookup(), dictionary::lookupEntryPtr(), IOobject::MUST_READ, IOobject::name(), searchableSurfaces::names(), HashTable< T, Key, Hash >::set(), and dictionary::toc().
Referenced by NamedEnum< compressibleField, 8 >::names().


| Foam::label maxLevel | ( | ) | const |
Highest shell level.
Definition at line 581 of file shellSurfaces.C.
References forAll, and Foam::max().

| void findHigherLevel | ( | const pointField & | pt, |
| const labelList & | ptLevel, | ||
| const scalar | level0EdgeLength, | ||
| labelList & | maxLevel | ||
| ) | const |
Find shell level higher than ptLevel.
Definition at line 595 of file shellSurfaces.C.
References forAll.