From faaf2eee1d5badc5647a3d17140edc1067f8293f Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 17 Apr 2014 20:46:23 +0400 Subject: [PATCH] SALOME_TESTS/Grids/smesh/bugs_03/D9 In updateDegenUV(), set same nb of segments on a degenerated EDGE NOT only at standard transition, to avoid failure because of "Inverted elements generated" reported for zero-area triangles. --- src/StdMeshers/StdMeshers_Quadrangle_2D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index 1bb30e342..c0c562e7d 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -3848,7 +3848,7 @@ void StdMeshers_Quadrangle_2D::updateDegenUV(FaceQuadStruct::Ptr quad) uv1.v = uv2.v = 0.5 * ( uv1.v + uv2.v ); } - else if ( quad->side.size() == 4 && myQuadType == QUAD_STANDARD) + else if ( quad->side.size() == 4 /*&& myQuadType == QUAD_STANDARD*/) // Set number of nodes on a degenerated side to be same as on an opposite side // ---------------------------------------------------------------------------- -- 2.39.2