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

Public Member Functions

 checkBoundaryFacesSharingTwoEdges (polyMeshGen &mesh)
 Construct from polyMeshGen and meshOctree. More...
 
 ~checkBoundaryFacesSharingTwoEdges ()
 
void findPoints (labelHashSet &badPoints)
 find boundary points connected to two boundary faces, only More...
 
bool improveTopology ()
 

Private Member Functions

void createMeshSurface () const
 creates meshSurfaceEngine More...
 
const meshSurfaceEnginemeshSurface () const
 returns mesh surface More...
 
void findFacesAtBndEdge ()
 
void findBndFacesAtBndVertex ()
 find the number of faces connected to the boundary vertex More...
 
void removeExcessiveVertices ()
 remove vertices from the faces More...
 
label findBndFacesForDecomposition (boolList &decomposeFace)
 find boundary faces which shall be decomposed into triangles More...
 
 checkBoundaryFacesSharingTwoEdges (const checkBoundaryFacesSharingTwoEdges &)
 Disallow default bitwise copy construct. More...
 
void operator= (const checkBoundaryFacesSharingTwoEdges &)
 Disallow default bitwise assignment. More...
 

Private Attributes

polyMeshGenmesh_
 Reference to polyMeshGen. More...
 
meshSurfaceEnginemeshSurfacePtr_
 pointer to meshSurfaceEngine More...
 
labelList nBndFacesAtBndPoint_
 number of boundary faces attached to a boundary vertex More...
 
boolList removeBndPoint_
 a list of boundary points which can be removed from the mesh More...
 

Detailed Description

Definition at line 56 of file checkBoundaryFacesSharingTwoEdges.H.

Constructor & Destructor Documentation

◆ checkBoundaryFacesSharingTwoEdges() [1/2]

Disallow default bitwise copy construct.

◆ checkBoundaryFacesSharingTwoEdges() [2/2]

Construct from polyMeshGen and meshOctree.

Definition at line 421 of file checkBoundaryFacesSharingTwoEdges.C.

◆ ~checkBoundaryFacesSharingTwoEdges()

Definition at line 434 of file checkBoundaryFacesSharingTwoEdges.C.

References Foam::deleteDemandDrivenData(), and checkBoundaryFacesSharingTwoEdges::meshSurfacePtr_.

Here is the call graph for this function:

Member Function Documentation

◆ createMeshSurface()

void createMeshSurface ( ) const
private

◆ meshSurface()

const meshSurfaceEngine& meshSurface ( ) const
inlineprivate

◆ findFacesAtBndEdge()

void findFacesAtBndEdge ( )
private

find the faces connected to each boundary edge mark the points which can be removed

find the internal faces attached to the boundary points

check processor faces

make sure that all processors have the same information

the point shall not be removed

exchange data

set remove flag to false

Definition at line 53 of file checkBoundaryFacesSharingTwoEdges.C.

References meshSurfaceEngine::boundaryPointEdges(), meshSurfaceEngine::bp(), meshSurfaceEngine::bpAtProcs(), meshSurfaceEngine::bpNeiProcs(), meshSurfaceEngine::edges(), Foam::help::exchangeMap(), f(), polyMeshGenFaces::faces(), forAll, forAllConstIter(), forAllRow, meshSurfaceEngine::globalToLocalBndPointAddressing(), checkBoundaryFacesSharingTwoEdges::mesh_, checkBoundaryFacesSharingTwoEdges::meshSurface(), UPstream::myProcNo(), checkBoundaryFacesSharingTwoEdges::nBndFacesAtBndPoint_, polyMeshGenFaces::nInternalFaces(), UPstream::parRun(), polyMeshGenFaces::procBoundaries(), checkBoundaryFacesSharingTwoEdges::removeBndPoint_, List::setSize(), and VRWGraph::size().

Referenced by checkBoundaryFacesSharingTwoEdges::improveTopology().

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

◆ findBndFacesAtBndVertex()

void findBndFacesAtBndVertex ( )
private

◆ removeExcessiveVertices()

void removeExcessiveVertices ( )
private

◆ findBndFacesForDecomposition()

label findBndFacesForDecomposition ( boolList decomposeFace)
private

find boundary faces which shall be decomposed into triangles

Definition at line 381 of file checkBoundaryFacesSharingTwoEdges.C.

References meshSurfaceEngine::boundaryFaces(), meshSurfaceEngine::bp(), forAll, and Foam::reduce().

Referenced by checkBoundaryFacesSharingTwoEdges::improveTopology().

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

◆ operator=()

void operator= ( const checkBoundaryFacesSharingTwoEdges )
private

Disallow default bitwise assignment.

◆ findPoints()

void findPoints ( labelHashSet badPoints)

◆ improveTopology()

bool improveTopology ( )

Field Documentation

◆ mesh_

polyMeshGen& mesh_
private

◆ meshSurfacePtr_

meshSurfaceEngine* meshSurfacePtr_
mutableprivate

◆ nBndFacesAtBndPoint_

labelList nBndFacesAtBndPoint_
private

◆ removeBndPoint_

boolList removeBndPoint_
private

a list of boundary points which can be removed from the mesh

Definition at line 69 of file checkBoundaryFacesSharingTwoEdges.H.

Referenced by checkBoundaryFacesSharingTwoEdges::findFacesAtBndEdge(), and checkBoundaryFacesSharingTwoEdges::removeExcessiveVertices().


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