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

refinementIterator Class Reference

Utility class to do iterating meshCutter until all requests satisfied. More...

#include <dynamicMesh/refinementIterator.H>


Detailed Description

Utility class to do iterating meshCutter until all requests satisfied.

Needed since cell cutting can only cut cell once in one go so if refinement pattern is not compatible on a cell by cell basis it will refuse to cut.

Parallel: communicates. All decisions done on 'reduce'd variable.

Source files

Definition at line 65 of file refinementIterator.H.

Inheritance diagram for refinementIterator:
Collaboration diagram for refinementIterator:

List of all members.

Public Member Functions

 ClassName ("refinementIterator")
 Runtime type information.
 refinementIterator (polyMesh &mesh, undoableMeshCutter &meshRefiner, const cellLooper &cellWalker, const bool writeMesh=false)
 Construct from mesh, refinementEngine and cell walking routine.
 ~refinementIterator ()
Map< label >  setRefinement (const List< refineCell > &)
 Try to refine cells in given direction. Constructs intermediate.

Constructor & Destructor Documentation

refinementIterator ( polyMesh &   mesh,
undoableMeshCutter &   meshRefiner,
const cellLooper &   cellWalker,
const bool   writeMesh = false  
)

Construct from mesh, refinementEngine and cell walking routine.

If writeMesh = true increments runTime and writes intermediate meshes.

Definition at line 51 of file refinementIterator.C.

Definition at line 68 of file refinementIterator.C.


Member Function Documentation

ClassName ( "refinementIterator"    )

Runtime type information.

Foam::Map< Foam::label > setRefinement ( const List< refineCell > &   refCells  )

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