OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

meshTriangulation Class Reference

Triangulation of mesh faces. Generates (multiply connected) trisurface. More...

Inheritance diagram for meshTriangulation:
Collaboration diagram for meshTriangulation:

List of all members.


Public Member Functions

 ClassName ("meshTriangulation")
 meshTriangulation ()
 Construct null.
 meshTriangulation (const polyMesh &, const label internalFacesPatch, const boolList &includedCell, const bool faceCentreDecomposition=false)
 Construct from selected mesh cell and region number to be used.
label nInternalFaces () const
 number of triangles in *this which are internal to the surface
const labelListfaceMap () const
 from triangle to mesh face

Detailed Description

Triangulation of mesh faces. Generates (multiply connected) trisurface.

All patch faces keep their patchID as triangle region. Internal faces get the supplied region number.

Source files

Definition at line 53 of file meshTriangulation.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 145 of file meshTriangulation.C.

meshTriangulation ( const polyMesh mesh,
const label  internalFacesPatch,
const boolList includedCell,
const bool  faceCentreDecomposition = false 
)

Construct from selected mesh cell and region number to be used.

for triangles resulting from internal faces. (all boundary triangles get polyMesh patch id). faceCentreDecomposition = true : decomposition around face centre false : decomposition using existing vertices

Definition at line 155 of file meshTriangulation.C.


Member Function Documentation

ClassName ( "meshTriangulation"   ) 

label nInternalFaces (  )  const [inline]

number of triangles in *this which are internal to the surface

Definition at line 128 of file meshTriangulation.H.

const labelList& faceMap (  )  const [inline]

from triangle to mesh face

Definition at line 134 of file meshTriangulation.H.


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