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 meshSurfaceEngine & | surfaceEngine_ |
mesh surface More... | |
List< direction > | edgeType_ |
a list which classifies each edge More... | |
Definition at line 53 of file meshSurfaceCheckEdgeTypes.H.
enum edgeTypes_ |
Enumerator | |
---|---|
NONE | |
PATCHEDGE | |
FEATUREEDGE | |
CONVEXEDGE | |
CONCAVEEDGE | |
UNDETERMINED |
Definition at line 79 of file meshSurfaceCheckEdgeTypes.H.
|
private |
Disallow default bitwise copy construct.
meshSurfaceCheckEdgeTypes | ( | const meshSurfaceEngine & | mse | ) |
Construct from meshSurfaceEngine.
Definition at line 313 of file meshSurfaceCheckEdgeTypes.C.
Definition at line 325 of file meshSurfaceCheckEdgeTypes.C.
|
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.
|
private |
Disallow default bitwise assignment.
return the information about classified edges
Definition at line 100 of file meshSurfaceCheckEdgeTypes.H.
References meshSurfaceCheckEdgeTypes::edgeType_.
Referenced by correctEdgesBetweenPatches::decomposeConcaveFaces().
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().
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().
|
private |
mesh surface
Definition at line 57 of file meshSurfaceCheckEdgeTypes.H.
Referenced by meshSurfaceCheckEdgeTypes::classifyEdges().
a list which classifies each edge
Definition at line 60 of file meshSurfaceCheckEdgeTypes.H.
Referenced by meshSurfaceCheckEdgeTypes::classifyEdges(), meshSurfaceCheckEdgeTypes::concaveEdges(), meshSurfaceCheckEdgeTypes::convexEdges(), and meshSurfaceCheckEdgeTypes::edgeTypes().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.