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

faceCollapser Class Reference

Collapses faces into edges. Used to remove sliver faces (faces with small area but non-zero span). More...

#include <dynamicMesh/faceCollapser.H>


Detailed Description

Collapses faces into edges. Used to remove sliver faces (faces with small area but non-zero span).

Passed in as

  • face label
  • the two indices in the face (fpA, fpB) which delimit the vertices to be kept.

Takes the vertices outside the range fpA..fpB and projects them onto the kept edges (edges using kept vertices only).

Note:

  • Use in combination with edge collapse to cleanup meshes.
  • Can not remove cells so will mess up trying to remove a face on a tet.
  • WIP. Should be combined with edge collapsing and cell collapsing into proper 'collapser'.
  • Caller is responsible for making sure kept vertices (fpA..fpB) for one face are not the vertices to be removed for another face.
Source files

Definition at line 76 of file faceCollapser.H.

Collaboration diagram for faceCollapser:

List of all members.

Public Member Functions

 ClassName ("faceCollapser")
 Runtime type information.
 faceCollapser (const polyMesh &mesh)
 Construct from mesh.
void  setRefinement (const labelList &faceLabels, const labelList &fpA, const labelList &fpB, polyTopoChange &) const
 Collapse faces along endpoints. Play commands into.
void  updateMesh (const mapPolyMesh &)
 Update stored quantities for new mesh labels.

Constructor & Destructor Documentation

faceCollapser ( const polyMesh &   mesh  )

Construct from mesh.

Definition at line 203 of file faceCollapser.C.


Member Function Documentation

ClassName ( "faceCollapser"    )

Runtime type information.

void updateMesh ( const mapPolyMesh &    ) [inline]

Update stored quantities for new mesh labels.

Definition at line 149 of file faceCollapser.H.


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