Triangulation of mesh faces. Generates (multiply connected) trisurface. More...
#include <triSurface/meshTriangulation.H>
Triangulation of mesh faces. Generates (multiply connected) trisurface.
All patch faces keep their patchID as triangle region. Internal faces get the supplied region number.
Definition at line 58 of file meshTriangulation.H.
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 labelList & | faceMap () const |
from triangle to mesh face
|
Construct null.
Definition at line 153 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 163 of file meshTriangulation.C.
References polyMesh::boundaryMesh(), UList< T >::empty(), Foam::endl(), primitiveMesh::faceCentres(), polyMesh::faceOwner(), polyMesh::faces(), forAll, primitiveMesh::isInternalFace(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::name(), face::nextLabel(), primitiveMesh::nPoints(), UList< labelledTri >::operator, patches, polyMesh::points(), points, Foam::Pout, List< T >::setSize(), PtrList< T >::size(), List< T >::size(), WarningIn, and polyBoundaryMesh::whichPatch().
ClassName | ( | "meshTriangulation" | ) |
label nInternalFaces | ( | ) | const [inline]
|
number of triangles in *this which are internal to the surface
Definition at line 131 of file meshTriangulation.H.
const labelList& faceMap | ( | ) | const [inline]
|
from triangle to mesh face
Definition at line 137 of file meshTriangulation.H.