Public Types | Public Member Functions | List of all members
shellSurfaces Class Reference

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...
 

Detailed Description

Encapsulates queries for volume refinement ('refine all cells within shell').

Source files

Definition at line 52 of file shellSurfaces.H.

Member Enumeration Documentation

◆ refineMode

enum refineMode

Volume refinement controls.

Enumerator
INSIDE 
OUTSIDE 
DISTANCE 

Definition at line 59 of file shellSurfaces.H.

Constructor & Destructor Documentation

◆ shellSurfaces()

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< directionType, 3 >::names().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ maxLevel()

Foam::label maxLevel ( ) const

Highest shell level.

Definition at line 425 of file shellSurfaces.C.

References forAll, and Foam::max().

Here is the call graph for this function:

◆ findHigherLevel()

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.


The documentation for this class was generated from the following files: