FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

shellSurfaces Class Reference

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

#include <autoMesh/shellSurfaces.H>


Detailed Description

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

Source files

Definition at line 53 of file shellSurfaces.H.

Collaboration diagram for shellSurfaces:

List of all members.

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.

Member Enumeration Documentation

enum refineMode

Volume refinement controls.

Enumerator:
INSIDE 
OUTSIDE 
DISTANCE 

Definition at line 60 of file shellSurfaces.H.


Constructor & Destructor Documentation

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  
)

Member Function Documentation

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.


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