OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

shellSurfaces Class Reference

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

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.

Detailed Description

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

Source files

Definition at line 48 of file shellSurfaces.H.


Member Enumeration Documentation

enum refineMode

Volume refinement controls.

Enumerator:
INSIDE 
OUTSIDE 
DISTANCE 

Definition at line 55 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 353 of file shellSurfaces.C.

shellSurfaces ( const searchableSurfaces allGeometry,
const dictionary shellsDict 
)

Construct from geometry and dictionary.

Definition at line 398 of file shellSurfaces.C.


Member Function Documentation

Foam::label maxLevel (  )  const

Highest shell level.

Definition at line 445 of file shellSurfaces.C.

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

Find shell level higher than ptLevel.

Definition at line 457 of file shellSurfaces.C.

References Foam::max().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd