Public Member Functions | Private Member Functions | Private Attributes
meshSurfaceEdgeExtractor2D Class Reference
Collaboration diagram for meshSurfaceEdgeExtractor2D:
Collaboration graph
[legend]

Public Member Functions

 meshSurfaceEdgeExtractor2D (polyMeshGen &mesh, const meshOctree &octree)
 Construct from mesh data. More...
 
 ~meshSurfaceEdgeExtractor2D ()
 
void distributeBoundaryFaces ()
 distribute boundary faces into patches More...
 
void remapBoundaryPoints ()
 re-map points after edges have been extracted More...
 

Private Member Functions

 meshSurfaceEdgeExtractor2D (const meshSurfaceEdgeExtractor2D &)
 Disallow default bitwise copy construct. More...
 
void operator= (const meshSurfaceEdgeExtractor2D &)
 Disallow default bitwise assignment. More...
 

Private Attributes

polyMeshGenmesh_
 mesh More...
 
const meshOctreemeshOctree_
 octree More...
 

Detailed Description

Definition at line 53 of file meshSurfaceEdgeExtractor2D.H.

Constructor & Destructor Documentation

◆ meshSurfaceEdgeExtractor2D() [1/2]

Disallow default bitwise copy construct.

◆ meshSurfaceEdgeExtractor2D() [2/2]

meshSurfaceEdgeExtractor2D ( polyMeshGen mesh,
const meshOctree octree 
)

Construct from mesh data.

Definition at line 44 of file meshSurfaceEdgeExtractor2D.C.

◆ ~meshSurfaceEdgeExtractor2D()

Definition at line 55 of file meshSurfaceEdgeExtractor2D.C.

Member Function Documentation

◆ operator=()

void operator= ( const meshSurfaceEdgeExtractor2D )
private

Disallow default bitwise assignment.

◆ distributeBoundaryFaces()

void distributeBoundaryFaces ( )

distribute boundary faces into patches

copy boundary faces and their owner face

project face centres onto their nearest location on the surface mesh

this face is active

find the patch index of the nearest location on the surface mesh

replace the boundary

set correct patch types

Definition at line 50 of file meshSurfaceEdgeExtractor2DDistributeFaces.C.

References polyMeshGen2DEngine::activeFace(), LongList< T, Offset >::append(), VRWGraph::appendList(), polyMeshGenFaces::boundaries(), polyMeshGenModifier::boundariesAccess(), Foam::constant::universal::c, f(), polyMeshGenFaces::faces(), meshOctree::findNearestSurfacePoint(), forAll, meshSurfaceEdgeExtractor2D::mesh_, meshSurfaceEdgeExtractor2D::meshOctree_, polyMeshGenFaces::owner(), triSurfFacets::patches(), patchNames(), patchTypes(), points, polyMeshGenPoints::points(), polyMeshGenModifier::replaceBoundary(), List::size(), VRWGraph::size(), meshOctree::surface(), polyMeshGen2DEngine::zMaxPoints(), and polyMeshGen2DEngine::zMinPoints().

Referenced by cartesian2DMeshGenerator::extractPatches().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remapBoundaryPoints()

void remapBoundaryPoints ( )

re-map points after edges have been extracted

Definition at line 157 of file meshSurfaceEdgeExtractor2DDistributeFaces.C.

References meshSurfaceMapper2D::adjustZCoordinates(), meshSurfaceMapper2D::mapVerticesOntoSurfacePatches(), meshSurfaceEdgeExtractor2D::mesh_, and meshSurfaceEdgeExtractor2D::meshOctree_.

Referenced by cartesian2DMeshGenerator::mapEdgesAndCorners().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ mesh_

polyMeshGen& mesh_
private

◆ meshOctree_

const meshOctree& meshOctree_
private

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