FreeFOAM The Cross-Platform CFD Toolkit
refinementParameters Class Reference

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

#include <autoMesh/refinementParameters.H>


Detailed Description

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.
bool allowFreeStandingZoneFaces () const
 Are zone faces allowed only inbetween different cell zones.
scalar maxLoadUnbalance () const
 Allowed load unbalance.
labelList findCells (const polyMesh &) const
 Checks that cells are in mesh. Returns cells they are in.

Constructor & Destructor Documentation

refinementParameters ( const dictionary dict,
const label  dummy 
)

Construct from dictionary - old syntax.

Definition at line 35 of file refinementParameters.C.

refinementParameters ( const dictionary dict)

Construct from dictionary - new syntax.

Definition at line 58 of file refinementParameters.C.

References Foam::cos(), dictionary::lookup(), Foam::mathematicalConstant::pi(), and Foam::readScalar().


Member Function Documentation

label maxGlobalCells ( ) const
inline

Total number of cells.

Definition at line 109 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

label maxLocalCells ( ) const
inline

Per processor max number of cells.

Definition at line 115 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

label minRefineCells ( ) const
inline

When to stop refining.

Definition at line 121 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

scalar curvature ( ) const
inline

Curvature.

Definition at line 127 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

label nBufferLayers ( ) const
inline

Number of layers between different refinement levels.

Definition at line 133 of file refinementParameters.H.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

const pointField& keepPoints ( ) const
inline

Areas to keep.

Definition at line 139 of file refinementParameters.H.

bool allowFreeStandingZoneFaces ( ) const
inline

Are zone faces allowed only inbetween different cell zones.

or also just free standing?

Definition at line 146 of file refinementParameters.H.

scalar maxLoadUnbalance ( ) const
inline

Allowed load unbalance.

Definition at line 152 of file refinementParameters.H.

Foam::labelList findCells ( const polyMesh mesh) const

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