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 | |
refinementRegions (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 refinementRegions.H.
|
strong |
Volume refinement controls.
Enumerator | |
---|---|
inside | |
outside | |
distance | |
insideSpan | |
outsideSpan |
Definition at line 60 of file refinementRegions.H.
refinementRegions | ( | const searchableSurfaces & | allGeometry, |
const dictionary & | shellsDict | ||
) |
Construct from geometry and dictionary.
Definition at line 519 of file refinementRegions.C.
References entry::dict(), Foam::dimLength, Foam::endl(), ILList< LListBase, T >::erase(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), searchableSurface::geometryDir(), 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 648 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 662 of file refinementRegions.C.
References forAll.