From: eap Date: Thu, 17 Apr 2014 16:46:23 +0000 (+0400) Subject: SALOME_TESTS/Grids/smesh/bugs_03/D9 X-Git-Tag: V7_4_0rc1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=faaf2eee1d5badc5647a3d17140edc1067f8293f;p=modules%2Fsmesh.git 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. --- 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 // ----------------------------------------------------------------------------