OpenFOAM logo
Open Source CFD Toolkit

removeFaces Class Reference

Collaboration diagram for removeFaces:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassName ("removeFaces")
 Runtime type information.
 removeFaces (const polyMesh &mesh, const scalar minCos=Foam::cos(10.0/180.0 *mathematicalConstant::pi))
 Construct from mesh and min cos of angle for faces/edges to be.
scalar minCos () const
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, polyTopoChange &) const
 Play commands into polyTopoChange to remove faces.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.

Constructor & Destructor Documentation

removeFaces const polyMesh mesh,
const scalar  minCos = Foam::cos(10.0/180.0 *mathematicalConstant::pi)
 

Construct from mesh and min cos of angle for faces/edges to be.

considered aligned.


Member Function Documentation

ClassName "removeFaces"   ) 
 

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
  • new set of faces which contains input set + additional ones where cells on both sides would have same mastercell. Returns number of regions.

scalar minCos  )  const [inline]
 

Definition at line 262 of file removeFaces.H.

References Foam::labelList.

void setRefinement const labelList piercedFaces,
const labelList cellRegion,
const labelList cellRegionMaster,
polyTopoChange
const
 

Play commands into polyTopoChange to remove faces.

void updateMesh const mapPolyMesh  )  [inline]
 

Force recalculation of locally stored data on topological change.

Definition at line 298 of file removeFaces.H.


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