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

Public Member Functions

 meshSurfaceEdgeExtractorFUN (polyMeshGen &mesh, const meshOctree &octree, const bool createWrapperSheet=true)
 Construct from mesh data. More...
 
 ~meshSurfaceEdgeExtractorFUN ()
 

Private Member Functions

meshSurfaceEnginesurfaceEngine ()
 return reference to surface engine More...
 
void clearOut ()
 clear mesh suirface engine More...
 
void distributeBoundaryFaces ()
 distribute boundary faces into patches More...
 
void reviseCorners ()
 
void reviseEdges ()
 
void findCornersAndCorrectPatches ()
 find corner vertices and correct patches More...
 
void createBasicFundamentalSheets ()
 create fundamental sheets More...
 
void smoothMeshSurface ()
 smooth the surface More...
 
void improveQualityOfFundamentalSheets ()
 modify fundamental sheets More...
 
void remapBoundaryPoints ()
 re-map points after edges have been extracted More...
 
 meshSurfaceEdgeExtractorFUN ()
 Disallow default construct. More...
 
 meshSurfaceEdgeExtractorFUN (const meshSurfaceEdgeExtractorFUN &)
 Disallow default bitwise copy construct. More...
 
void operator= (const meshSurfaceEdgeExtractorFUN &)
 Disallow default bitwise assignment. More...
 

Private Attributes

polyMeshGenmesh_
 mesh More...
 
const meshOctreemeshOctree_
 octree More...
 
meshSurfaceEnginesurfaceEnginePtr_
 mesh surface pointer More...
 
const bool createWrapperSheet_
 shall the procedure generate an initial wrapper sheet More...
 

Detailed Description

Definition at line 54 of file meshSurfaceEdgeExtractorFUN.H.

Constructor & Destructor Documentation

◆ meshSurfaceEdgeExtractorFUN() [1/3]

Disallow default construct.

◆ meshSurfaceEdgeExtractorFUN() [2/3]

Disallow default bitwise copy construct.

◆ meshSurfaceEdgeExtractorFUN() [3/3]

meshSurfaceEdgeExtractorFUN ( polyMeshGen mesh,
const meshOctree octree,
const bool  createWrapperSheet = true 
)

Construct from mesh data.

Definition at line 71 of file meshSurfaceEdgeExtractorFUN.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and UPstream::parRun().

Here is the call graph for this function:

◆ ~meshSurfaceEdgeExtractorFUN()

Definition at line 98 of file meshSurfaceEdgeExtractorFUN.C.

References Foam::deleteDemandDrivenData(), and meshSurfaceEdgeExtractorFUN::surfaceEnginePtr_.

Here is the call graph for this function:

Member Function Documentation

◆ surfaceEngine()

meshSurfaceEngine & surfaceEngine ( )
private

◆ clearOut()

void clearOut ( )
private

clear mesh suirface engine

Definition at line 62 of file meshSurfaceEdgeExtractorFUN.C.

References Foam::deleteDemandDrivenData(), and meshSurfaceEdgeExtractorFUN::surfaceEnginePtr_.

Referenced by meshSurfaceEdgeExtractorFUN::createBasicFundamentalSheets().

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

◆ distributeBoundaryFaces()

void distributeBoundaryFaces ( )
private

distribute boundary faces into patches

set size of patchNames, newBoundaryFaces_ and newBoundaryOwners_

set patchNames

append boundary faces

find the region for face by finding the patch nearest to the face centre

Definition at line 53 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.

References VRWGraph::appendList(), meshSurfaceEngine::boundaryFaces(), Foam::constant::universal::c, Foam::exit(), meshSurfaceEngine::faceOwners(), Foam::FatalError, FatalErrorIn, meshOctree::findNearestSurfacePoint(), forAll, meshSurfaceEdgeExtractorFUN::mesh_, meshSurfaceEdgeExtractorFUN::meshOctree_, geometryBase::name(), nPatches, p, patchNames(), points, meshSurfaceEngine::points(), polyMeshGenModifier::replaceBoundary(), UList::size(), and meshOctree::surface().

Here is the call graph for this function:

◆ reviseCorners()

void reviseCorners ( )
private

check whether all corners in the surface mesh are present in the volume mesh

Definition at line 120 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.

◆ reviseEdges()

void reviseEdges ( )
private

check whether all edges in the surface mesh are present in the volume mesh

Definition at line 125 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.

◆ findCornersAndCorrectPatches()

void findCornersAndCorrectPatches ( )
private

find corner vertices and correct patches

◆ createBasicFundamentalSheets()

void createBasicFundamentalSheets ( )
private

create fundamental sheets

Definition at line 138 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.

References meshSurfaceEdgeExtractorFUN::clearOut(), meshSurfaceEdgeExtractorFUN::createWrapperSheet_, and meshSurfaceEdgeExtractorFUN::mesh_.

Here is the call graph for this function:

◆ smoothMeshSurface()

void smoothMeshSurface ( )
private

◆ improveQualityOfFundamentalSheets()

void improveQualityOfFundamentalSheets ( )
private

◆ remapBoundaryPoints()

void remapBoundaryPoints ( )
private

re-map points after edges have been extracted

Definition at line 130 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.

References meshSurfaceMapper::mapVerticesOntoSurfacePatches(), meshSurfaceEdgeExtractorFUN::meshOctree_, and meshSurfaceEdgeExtractorFUN::surfaceEngine().

Here is the call graph for this function:

◆ operator=()

void operator= ( const meshSurfaceEdgeExtractorFUN )
private

Disallow default bitwise assignment.

Field Documentation

◆ mesh_

polyMeshGen& mesh_
private

◆ meshOctree_

const meshOctree& meshOctree_
private

◆ surfaceEnginePtr_

meshSurfaceEngine* surfaceEnginePtr_
private

◆ createWrapperSheet_

const bool createWrapperSheet_
private

shall the procedure generate an initial wrapper sheet

Definition at line 67 of file meshSurfaceEdgeExtractorFUN.H.

Referenced by meshSurfaceEdgeExtractorFUN::createBasicFundamentalSheets().


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