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

refinementParameters Class Reference

Simple container to keep together refinement specific information. More...

Collaboration diagram for refinementParameters:

List of all members.


Public Member Functions

 refinementParameters (const dictionary &dict, const label dummy)
 Construct from dictionary - old syntax.
 refinementParameters (const dictionary &dict)
 Construct from dictionary - new syntax.
label maxGlobalCells () const
 Total number of cells.
label maxLocalCells () const
 Per processor max number of cells.
label minRefineCells () const
 When to stop refining.
scalar curvature () const
 Curvature.
label nBufferLayers () const
 Number of layers between different refinement levels.
const pointFieldkeepPoints () const
 Areas to keep.
labelList findCells (const polyMesh &) const
 Checks that cells are in mesh. Returns cells they are in.

Detailed Description

Simple container to keep together refinement specific information.

Source files

Definition at line 48 of file refinementParameters.H.


Constructor & Destructor Documentation

refinementParameters ( const dictionary dict,
const label  dummy 
)

Construct from dictionary - old syntax.

Definition at line 27 of file refinementParameters.C.

refinementParameters ( const dictionary dict  ) 

Construct from dictionary - new syntax.

Definition at line 41 of file refinementParameters.C.


Member Function Documentation

label maxGlobalCells (  )  const [inline]

Total number of cells.

Definition at line 96 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:

label maxLocalCells (  )  const [inline]

Per processor max number of cells.

Definition at line 102 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:

label minRefineCells (  )  const [inline]

When to stop refining.

Definition at line 108 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:

scalar curvature (  )  const [inline]

Curvature.

Definition at line 114 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:

label nBufferLayers (  )  const [inline]

Number of layers between different refinement levels.

Definition at line 120 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:

const pointField& keepPoints (  )  const [inline]

Areas to keep.

Definition at line 126 of file refinementParameters.H.

Foam::labelList findCells ( const polyMesh mesh  )  const

Checks that cells are in mesh. Returns cells they are in.

Definition at line 64 of file refinementParameters.C.

References Foam::cos(), and Foam::mathematicalConstant::pi.

Here is the call graph for this function:


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