Encapsulates queries for volume refinement ('refine all cells within shell'). More...
#include <autoMesh/shellSurfaces.H>
Encapsulates queries for volume refinement ('refine all cells within shell').
Definition at line 53 of file shellSurfaces.H.
Public Types | |
enum | refineMode { INSIDE, OUTSIDE, DISTANCE } |
Volume refinement controls. More... | |
Public Member Functions | |
shellSurfaces (const searchableSurfaces &allGeometry, const labelList &shells, const List< refineMode > &modes, const List< scalarField > &distances, const labelListList &levels) | |
Construct from components.
| |
shellSurfaces (const searchableSurfaces &allGeometry, const PtrList< dictionary > &shellDicts) | |
Construct from geometry and dictionaries.
| |
shellSurfaces (const searchableSurfaces &allGeometry, const dictionary &shellsDict) | |
Construct from geometry and dictionary.
| |
label | maxLevel () const |
Highest shell level.
| |
void | findHigherLevel (const pointField &pt, const labelList &ptLevel, labelList &maxLevel) const |
Find shell level higher than ptLevel.
|
enum refineMode |
Volume refinement controls.
Definition at line 60 of file shellSurfaces.H.
shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
const labelList & | shells, | ||
const List< refineMode > & | modes, | ||
const List< scalarField > & | distances, | ||
const labelListList & | levels | ||
) |
Construct from components.
shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
const PtrList< dictionary > & | shellDicts | ||
) |
Construct from geometry and dictionaries.
Definition at line 361 of file shellSurfaces.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, dictionary::lookup(), Foam::name(), PtrList< T >::size(), and Foam::type().
shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
const dictionary & | shellsDict | ||
) |
Construct from geometry and dictionary.
Definition at line 406 of file shellSurfaces.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAllConstIter, dictionary::lookup(), dictionary::read(), DLListBase::size(), and dictionary::subDict().
Foam::label maxLevel | ( | ) | const |
Highest shell level.
Definition at line 453 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 465 of file shellSurfaces.C.
References forAll.