OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

combineFaces Class Reference

Collaboration diagram for combineFaces:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file combineFaces.H.


Public Member Functions

 ClassName ("combineFaces")
 Runtime type information.
 combineFaces (const polyMesh &mesh, const bool undoable=false)
 Construct from mesh.
const labelList & masterFace () const
 If undoable: masterface for every set.
labelListList getMergeSets (const scalar featureCos, const scalar minConcaveCos) const
 Extract lists of all (non-coupled) boundary faces that can.
void setRefinement (const labelListList &, polyTopoChange &)
 Play commands into polyTopoChange to combine faces. Gets.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
void setUnrefinement (const labelList &masterFaces, polyTopoChange &meshMod)
 Play commands into polyTopoChange to reinsert original faces.

Static Public Member Functions

static face getOutsideFace (const indirectPrimitivePatch &)
 Gets outside of patch as a face (in mesh point labels).

Constructor & Destructor Documentation

combineFaces ( const polyMesh &  mesh,
const bool  undoable = false 
)

Construct from mesh.


Member Function Documentation

ClassName ( "combineFaces"   ) 

Runtime type information.

const labelList& masterFace (  )  const [inline]

If undoable: masterface for every set.

Definition at line 148 of file combineFaces.H.

labelListList getMergeSets ( const scalar  featureCos,
const scalar  minConcaveCos 
) const

Extract lists of all (non-coupled) boundary faces that can.

be merged. Uses getFaceRegions.

static face getOutsideFace ( const indirectPrimitivePatch &   )  [static]

Gets outside of patch as a face (in mesh point labels).

void setRefinement ( const labelListList &  ,
polyTopoChange &   
)

Play commands into polyTopoChange to combine faces. Gets.

labelListList of sets of faces to combine. Does no check for whether resulting face is legal.

void updateMesh ( const mapPolyMesh &   ) 

Force recalculation of locally stored data on topological change.

void setUnrefinement ( const labelList &  masterFaces,
polyTopoChange &  meshMod 
)

Play commands into polyTopoChange to reinsert original faces.

No other topo changes can be done inbetween setRefinement and setUnrefinement. Gets the master face labels whose sets need to be restored.


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