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 }
 

Public Member Functions

 shellSurfaces (const searchableSurfaces &allGeometry, const dictionary &shellsDict, const bool dryRun=false)
 
const labelListshells () const
 
const List< List< FixedList< label, 3 > > > & extendedGapLevel () const
 
const List< List< volumeType > > & extendedGapMode () const
 
const boolListListgapSelf () const
 
label maxLevel () const
 
labelList maxGapLevel () const
 
labelPairList directionalSelectLevel () const
 
void findHigherLevel (const pointField &pt, const labelList &ptLevel, labelList &maxLevel) const
 
void findHigherGapLevel (const pointField &pt, const labelList &ptLevel, labelList &gapShell, List< FixedList< label, 3 >> &gapInfo, List< volumeType > &gapMode) const
 
void findHigherGapLevel (const pointField &pt, const labelList &ptLevel, List< FixedList< label, 3 >> &gapInfo, List< volumeType > &gapMode) const
 
void findLevel (const pointField &pt, const labelList &ptLevel, labelList &shell) const
 
void findDirectionalLevel (const pointField &pt, const labelList &ptLevel, const labelList &dirLevel, const direction dir, labelList &shell) const
 
const vectorFieldsmoothDirection () const
 
const labelListnSmoothExpansion () const
 
const labelListnSmoothPosition () const
 

Detailed Description

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

Source files

Definition at line 53 of file shellSurfaces.H.

Member Enumeration Documentation

◆ refineMode

enum refineMode
Enumerator
INSIDE 
OUTSIDE 
DISTANCE 

Definition at line 60 of file shellSurfaces.H.

Constructor & Destructor Documentation

◆ shellSurfaces()

shellSurfaces ( const searchableSurfaces allGeometry,
const dictionary shellsDict,
const bool  dryRun = false 
)

Member Function Documentation

◆ shells()

const labelList& shells ( ) const
inline

Definition at line 182 of file shellSurfaces.H.

◆ extendedGapLevel()

const List<List<FixedList<label, 3> > >& extendedGapLevel ( ) const
inline

Definition at line 188 of file shellSurfaces.H.

◆ extendedGapMode()

const List<List<volumeType> >& extendedGapMode ( ) const
inline

Definition at line 194 of file shellSurfaces.H.

◆ gapSelf()

const boolListList& gapSelf ( ) const
inline

Definition at line 200 of file shellSurfaces.H.

◆ maxLevel()

Foam::label maxLevel ( ) const

Definition at line 808 of file shellSurfaces.C.

References forAll, and Foam::max().

Here is the call graph for this function:

◆ maxGapLevel()

Foam::labelList maxGapLevel ( ) const

Definition at line 819 of file shellSurfaces.C.

References forAll, Foam::max(), and Foam::Zero.

Here is the call graph for this function:

◆ directionalSelectLevel()

Foam::labelPairList directionalSelectLevel ( ) const

Definition at line 835 of file shellSurfaces.C.

References forAll.

◆ findHigherLevel()

void findHigherLevel ( const pointField pt,
const labelList ptLevel,
labelList maxLevel 
) const

Definition at line 865 of file shellSurfaces.C.

References forAll.

◆ findHigherGapLevel() [1/2]

void findHigherGapLevel ( const pointField pt,
const labelList ptLevel,
labelList gapShell,
List< FixedList< label, 3 >> &  gapInfo,
List< volumeType > &  gapMode 
) const

Definition at line 882 of file shellSurfaces.C.

References forAll, volumeType::MIXED, and List::setSize().

Here is the call graph for this function:

◆ findHigherGapLevel() [2/2]

void findHigherGapLevel ( const pointField pt,
const labelList ptLevel,
List< FixedList< label, 3 >> &  gapInfo,
List< volumeType > &  gapMode 
) const

Definition at line 907 of file shellSurfaces.C.

◆ findLevel()

void findLevel ( const pointField pt,
const labelList ptLevel,
labelList shell 
) const

Definition at line 920 of file shellSurfaces.C.

References forAll, and List::setSize().

Here is the call graph for this function:

◆ findDirectionalLevel()

void findDirectionalLevel ( const pointField pt,
const labelList ptLevel,
const labelList dirLevel,
const direction  dir,
labelList shell 
) const

Definition at line 939 of file shellSurfaces.C.

References DynamicList::append(), DynamicList::clear(), forAll, volumeType::INSIDE, volumeType::OUTSIDE, Pair::second(), and List::setSize().

Here is the call graph for this function:

◆ smoothDirection()

const Foam::vectorField & smoothDirection ( ) const

Definition at line 852 of file shellSurfaces.C.

◆ nSmoothExpansion()

const Foam::labelList & nSmoothExpansion ( ) const

Definition at line 846 of file shellSurfaces.C.

◆ nSmoothPosition()

const Foam::labelList & nSmoothPosition ( ) const

Definition at line 858 of file shellSurfaces.C.


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