Public Member Functions | List of all members
refinementParameters Class Reference

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

Public Member Functions

 refinementParameters (const dictionary &dict)
 Construct from dictionary - new syntax. More...
 
label maxGlobalCells () const
 Total number of cells. More...
 
label maxLocalCells () const
 Per processor max number of cells. More...
 
label minRefineCells () const
 When to stop refining. More...
 
scalar curvature () const
 Curvature. More...
 
scalar planarAngle () const
 Angle when two intersections are considered to be planar. More...
 
label nBufferLayers () const
 Number of layers between different refinement levels. More...
 
const pointFieldkeepPoints () const
 Areas to keep. More...
 
bool allowFreeStandingZoneFaces () const
 Are zone faces allowed only inbetween different cell zones. More...
 
bool useTopologicalSnapDetection () const
 Use old topology based problem-cell removal. More...
 
scalar maxLoadUnbalance () const
 Allowed load unbalance. More...
 
bool handleSnapProblems () const
 
labelList findCells (const polyMesh &) const
 Checks that cells are in mesh. Returns cells they are in. More...
 

Detailed Description

Simple container to keep together refinement specific information.

Source files

Definition at line 53 of file refinementParameters.H.

Constructor & Destructor Documentation

refinementParameters ( const dictionary dict)

Construct from dictionary - new syntax.

Definition at line 33 of file refinementParameters.C.

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

Here is the call graph for this function:

Member Function Documentation

label maxGlobalCells ( ) const
inline

Total number of cells.

Definition at line 113 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

label maxLocalCells ( ) const
inline

Per processor max number of cells.

Definition at line 119 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

label minRefineCells ( ) const
inline

When to stop refining.

Definition at line 125 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

scalar curvature ( ) const
inline

Curvature.

Definition at line 131 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

scalar planarAngle ( ) const
inline

Angle when two intersections are considered to be planar.

Definition at line 137 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

label nBufferLayers ( ) const
inline

Number of layers between different refinement levels.

Definition at line 143 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

const pointField& keepPoints ( ) const
inline

Areas to keep.

Definition at line 149 of file refinementParameters.H.

References refinementParameters::allowFreeStandingZoneFaces(), and refinementParameters::useTopologicalSnapDetection().

Referenced by autoRefineDriver::autoRefineDriver().

Here is the call graph for this function:

Here is the caller graph for this function:

bool allowFreeStandingZoneFaces ( ) const
inline

Are zone faces allowed only inbetween different cell zones.

or also just free standing?

Definition at line 156 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver(), and refinementParameters::keepPoints().

Here is the caller graph for this function:

bool useTopologicalSnapDetection ( ) const
inline

Use old topology based problem-cell removal.

(cells with 8 points on surface)

Definition at line 163 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver(), and refinementParameters::keepPoints().

Here is the caller graph for this function:

scalar maxLoadUnbalance ( ) const
inline

Allowed load unbalance.

Definition at line 169 of file refinementParameters.H.

Referenced by autoRefineDriver::autoRefineDriver().

Here is the caller graph for this function:

bool handleSnapProblems ( ) const
inline

Definition at line 174 of file refinementParameters.H.

References refinementParameters::findCells().

Here is the call graph for this function:

Foam::labelList findCells ( const polyMesh mesh) const

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

Definition at line 74 of file refinementParameters.C.

References polyMesh::bounds(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, polyMesh::findCell(), forAll, Foam::Info, primitiveMesh::nCells(), Foam::nl, Foam::reduce(), List< T >::size(), and polyMesh::tetBasePtIs().

Referenced by autoRefineDriver::doRefine(), and refinementParameters::handleSnapProblems().

Here is the call graph for this function:

Here is the caller graph for this function:


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