]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
54462: Hexa(ijk) fails on a composite block with a degenerated edge
authoreap <eap@opencascade.com>
Mon, 12 Nov 2018 13:42:33 +0000 (16:42 +0300)
committereap <eap@opencascade.com>
Mon, 12 Nov 2018 13:42:33 +0000 (16:42 +0300)
src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx

index ec02f71e14d860f1e484fb12e25c100eac13df96..a023ae623863d1dbd55ef99650d4282898bd4207 100644 (file)
@@ -893,6 +893,8 @@ bool _QuadFaceGrid::Init(const TopoDS_Face& f, SMESH_Mesh& mesh)
     while ( !edges.empty()) {
       sideEdges.clear();
       sideEdges.splice( sideEdges.end(), edges, edges.begin());// edges.front()->sideEdges.back()
+      if ( SMESH_Algo::isDegenerated( sideEdges.back() ))
+        continue;
       while ( !edges.empty() ) {
         if ( SMESH_Algo::IsContinuous( sideEdges.back(), edges.front() )) {
           sideEdges.splice( sideEdges.end(), edges, edges.begin());