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

Public Types

enum  edgeTypes_ {
  NONE = 0, PATCHEDGE = 1, FEATUREEDGE = 2, CONVEXEDGE = 4,
  CONCAVEEDGE = 8, UNDETERMINED = 16
}
 

Public Member Functions

 meshSurfaceCheckEdgeTypes (const meshSurfaceEngine &)
 Construct from meshSurfaceEngine. More...
 
 ~meshSurfaceCheckEdgeTypes ()
 
const List< direction > & edgeTypes () const
 return the information about classified edges More...
 
void convexEdges (labelLongList &convexEdges) const
 return indices of convex edges More...
 
void concaveEdges (labelLongList &concaveEdges) const
 return indices of concave edges More...
 

Private Member Functions

void classifyEdges ()
 check feature edges and classify them More...
 
 meshSurfaceCheckEdgeTypes (const meshSurfaceCheckEdgeTypes &)
 Disallow default bitwise copy construct. More...
 
void operator= (const meshSurfaceCheckEdgeTypes &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const meshSurfaceEnginesurfaceEngine_
 mesh surface More...
 
List< directionedgeType_
 a list which classifies each edge More...
 

Detailed Description

Definition at line 53 of file meshSurfaceCheckEdgeTypes.H.

Member Enumeration Documentation

◆ edgeTypes_

enum edgeTypes_
Enumerator
NONE 
PATCHEDGE 
FEATUREEDGE 
CONVEXEDGE 
CONCAVEEDGE 
UNDETERMINED 

Definition at line 79 of file meshSurfaceCheckEdgeTypes.H.

Constructor & Destructor Documentation

◆ meshSurfaceCheckEdgeTypes() [1/2]

Disallow default bitwise copy construct.

◆ meshSurfaceCheckEdgeTypes() [2/2]

Construct from meshSurfaceEngine.

Definition at line 313 of file meshSurfaceCheckEdgeTypes.C.

◆ ~meshSurfaceCheckEdgeTypes()

Definition at line 325 of file meshSurfaceCheckEdgeTypes.C.

Member Function Documentation

◆ classifyEdges()

void classifyEdges ( )
private

check feature edges and classify them

check if there exist tangled parts of mesh surface where classification is not reliable

classify edges

start checking feature edges

check if the surface is tangled there

check the volumes pof tets which can be formed at the edge

check if the edge at processor boundaries are concave or convex

check the volumes pof tets which can be formed at the edge

Definition at line 51 of file meshSurfaceCheckEdgeTypes.C.

References polyMeshGenPoints::addPointSubset(), polyMeshGenPoints::addPointToSubset(), meshSurfaceEngine::beNeiProcs(), meshSurfaceEngine::boundaryFacePatches(), meshSurfaceEngine::boundaryPoints(), meshSurfaceEngine::bp(), meshSurfaceCheckEdgeTypes::CONCAVEEDGE, meshSurfaceCheckEdgeTypes::CONVEXEDGE, labelledPoint::coordinates(), Foam::e, meshSurfaceEngine::edgeFaces(), meshSurfaceEngine::edges(), meshSurfaceCheckEdgeTypes::edgeType_, Foam::endl(), Foam::help::exchangeMap(), f1, meshSurfaceEngine::faceCentres(), meshSurfaceCheckEdgeTypes::FEATUREEDGE, forAll, forAllConstIter(), meshSurfaceEngine::globalBoundaryEdgeLabel(), meshSurfaceEngine::globalToLocalBndEdgeAddressing(), Foam::Info, meshSurfaceCheckInvertedVertices::invertedVertices(), tetrahedron::mag(), meshSurfaceEngine::mesh(), meshSurfaceCheckEdgeTypes::NONE, meshSurfaceEngine::otherEdgeFaceAtProc(), meshSurfaceEngine::otherEdgeFacePatch(), UPstream::parRun(), meshSurfaceCheckEdgeTypes::PATCHEDGE, patchId(), meshSurfaceEngine::pointFaces(), labelledPoint::pointLabel(), points, meshSurfaceEngine::points(), List::setSize(), List::size(), VRWGraph::size(), VRWGraph::sizeOfRow(), meshSurfaceCheckEdgeTypes::surfaceEngine_, and meshSurfaceCheckEdgeTypes::UNDETERMINED.

Here is the call graph for this function:

◆ operator=()

void operator= ( const meshSurfaceCheckEdgeTypes )
private

Disallow default bitwise assignment.

◆ edgeTypes()

const List<direction>& edgeTypes ( ) const
inline

return the information about classified edges

Definition at line 100 of file meshSurfaceCheckEdgeTypes.H.

References meshSurfaceCheckEdgeTypes::edgeType_.

Referenced by correctEdgesBetweenPatches::decomposeConcaveFaces().

Here is the caller graph for this function:

◆ convexEdges()

void convexEdges ( labelLongList convexEdges) const

return indices of convex edges

Definition at line 330 of file meshSurfaceCheckEdgeTypes.C.

References meshSurfaceCheckEdgeTypes::CONVEXEDGE, meshSurfaceCheckEdgeTypes::edgeType_, and forAll.

Referenced by meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets().

Here is the caller graph for this function:

◆ concaveEdges()

void concaveEdges ( labelLongList concaveEdges) const

return indices of concave edges

Definition at line 341 of file meshSurfaceCheckEdgeTypes.C.

References meshSurfaceCheckEdgeTypes::CONCAVEEDGE, meshSurfaceCheckEdgeTypes::edgeType_, and forAll.

Referenced by meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets().

Here is the caller graph for this function:

Field Documentation

◆ surfaceEngine_

const meshSurfaceEngine& surfaceEngine_
private

mesh surface

Definition at line 57 of file meshSurfaceCheckEdgeTypes.H.

Referenced by meshSurfaceCheckEdgeTypes::classifyEdges().

◆ edgeType_

List<direction> edgeType_
private

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