Public Member Functions | List of all members
refinementIterator Class Reference

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

Inheritance diagram for refinementIterator:
Inheritance graph
[legend]
Collaboration diagram for refinementIterator:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("refinementIterator")
 
 refinementIterator (polyMesh &mesh, undoableMeshCutter &meshRefiner, const cellLooper &cellWalker, const bool writeMesh=false)
 
 ~refinementIterator ()
 
Map< label > setRefinement (const List< refineCell > &)
 
- Public Member Functions inherited from edgeVertex
 edgeVertex (const polyMesh &mesh)
 
const polyMeshmesh () const
 
bool isEdge (const label eVert) const
 
label getEdge (const label eVert) const
 
label getVertex (const label eVert) const
 
label vertToEVert (const label vertI) const
 
label edgeToEVert (const label edgeI) const
 
point coord (const label cut, const scalar weight) const
 
label cutPairToEdge (const label cut0, const label cut1) const
 
OstreamwriteCut (Ostream &os, const label cut, const scalar) const
 
OstreamwriteCuts (Ostream &os, const labelList &, const scalarField &) const
 

Additional Inherited Members

- Static Public Member Functions inherited from edgeVertex
static void updateLabels (const labelList &map, List< refineCell > &)
 
static void updateLabels (const labelList &map, Map< label > &)
 
static void updateLabels (const labelList &map, labelHashSet &)
 
static bool isEdge (const primitiveMesh &mesh, const label eVert)
 
static label getEdge (const primitiveMesh &mesh, const label eVert)
 
static label getVertex (const primitiveMesh &mesh, const label eVert)
 
static label vertToEVert (const primitiveMesh &mesh, const label vertI)
 
static label edgeToEVert (const primitiveMesh &mesh, const label edgeI)
 
static point coord (const primitiveMesh &, const label cut, const scalar weight)
 
static label cutPairToEdge (const primitiveMesh &, const label cut0, const label cut1)
 

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 63 of file refinementIterator.H.

Constructor & Destructor Documentation

◆ refinementIterator()

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

Definition at line 44 of file refinementIterator.C.

◆ ~refinementIterator()

Definition at line 61 of file refinementIterator.C.

Member Function Documentation

◆ ClassName()

ClassName ( "refinementIterator"  )

◆ setRefinement()

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

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