refinementRegions Class Reference

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

Detailed Description

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

Source files

Definition at line 53 of file refinementRegions.H.

Member Enumeration Documentation

◆ refineMode

enum refineMode
strong

Volume refinement controls.

Enumerator
inside 
outside 
distance 
insideSpan 
outsideSpan 

Definition at line 60 of file refinementRegions.H.

Constructor & Destructor Documentation

◆ refinementRegions()

Member Function Documentation

◆ maxLevel()

Foam::label maxLevel ( ) const

Highest shell level.

Definition at line 648 of file refinementRegions.C.

References forAll, and Foam::max().

Here is the call graph for this function:

◆ findHigherLevel()

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.


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