Encapsulates queries for volume refinement ('refine all cells within shell'). More...
Public Types | |
| enum class | refineMode { inside , outside , distance , insideSpan , outsideSpan } |
| Volume refinement controls. More... | |
Public Member Functions | |
| refinementRegions (const searchableSurfaceList &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 refinementRegions.H.
|
strong |
Volume refinement controls.
| Enumerator | |
|---|---|
| inside | |
| outside | |
| distance | |
| insideSpan | |
| outsideSpan | |
Definition at line 60 of file refinementRegions.H.
| refinementRegions | ( | const searchableSurfaceList & | allGeometry, |
| const dictionary & | shellsDict | ||
| ) |
Construct from geometry and dictionary.
Definition at line 514 of file refinementRegions.C.
References dict, entry::dict(), Foam::endl(), HashTable< T, Key, Hash >::erase(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), searchableSurface::geometryDir(), refinementRegions::insideSpan, IOWarningInFunction, entry::keyword(), dictionary::lookupEntryPtr(), IOobject::MUST_READ, IOobject::name(), searchableSurfaceList::names(), refinementRegions::outsideSpan, NamedEnum< Enum, nEnum >::read(), List< T >::setSize(), HashTable< T, Key, Hash >::size(), HashTable< T, Key, Hash >::sortedToc(), and dictionary::toc().

| Foam::label maxLevel | ( | ) | const |
Highest shell level.
Definition at line 643 of file refinementRegions.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 656 of file refinementRegions.C.
References forAll.