]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
23332: EDF 13475 - Wrong quadratic mesh
authoreap <eap@opencascade.com>
Wed, 7 Sep 2016 11:43:41 +0000 (14:43 +0300)
committereap <eap@opencascade.com>
Wed, 7 Sep 2016 11:43:41 +0000 (14:43 +0300)
src/SMESH/SMESH_MesherHelper.cxx

index 13d072bbb5a376bc35a75453d680c75e31b536d0..ed82de3b4110bc428859a181f2dec4bf7a011ef6 100644 (file)
@@ -304,6 +304,7 @@ void SMESH_MesherHelper::SetSubShape(const TopoDS_Shape& aSh)
             double u2 = uv1.Coord(1);
             myPar1[0] = Min( u1, u2 );
             myPar2[0] = Max( u1, u2 );
+            myParIndex |= U_periodic;
           }
           else
           {
@@ -313,6 +314,7 @@ void SMESH_MesherHelper::SetSubShape(const TopoDS_Shape& aSh)
             double v2 = uv1.Coord(2);
             myPar1[1] = Min( v1, v2 );
             myPar2[1] = Max( v1, v2 );
+            myParIndex |= V_periodic;
           }
         }
         else //if ( !isSeam )