OpenFOAM logo
Open Source CFD Toolkit

directRemoveFaces Class Reference

Collaboration diagram for directRemoveFaces:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassName ("directRemoveFaces")
 Runtime type information.
 directRemoveFaces (const polyMesh &, const scalar minCos)
 Construct from mesh and min cos of angle for boundary faces.
label compatibleRemoves (const labelList &inPiercedFaces, labelList &cellRegion, labelList &cellRegionMaster, labelList &outPiercedFaces) const
 Given set of faces to pierce calculates:.
void setRefinement (const labelList &piercedFaces, const labelList &cellRegion, const labelList &cellRegionMaster, directPolyTopoChange &) const
 Play commands into directPolyTopoChange to remove faces.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.

Constructor & Destructor Documentation

directRemoveFaces (  const polyMesh &  ,
const scalar  minCos
) 
 

Construct from mesh and min cos of angle for boundary faces.

to be considered aligned. Set to >= 1 to disable checking and always merge (if on same patch)


Member Function Documentation

ClassName (  "directRemoveFaces"   ) 
 

Runtime type information.

label compatibleRemoves (  const labelList &  inPiercedFaces,
labelList &  cellRegion,
labelList &  cellRegionMaster,
labelList &  outPiercedFaces
)  const
 

Given set of faces to pierce calculates:.

  • region for connected cells
  • mastercell for each region. This is the lowest numbered cell of all cells that get merged.
  • new set of faces which contains input set + additional ones where cells on both sides would have same mastercell. Returns number of regions.

void setRefinement (  const labelList &  piercedFaces,
const labelList &  cellRegion,
const labelList &  cellRegionMaster,
directPolyTopoChange & 
)  const
 

Play commands into directPolyTopoChange to remove faces.

void updateMesh (  const mapPolyMesh &   )  [inline]
 

Force recalculation of locally stored data on topological change.

Definition at line 221 of file directRemoveFaces.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org