Salome HOME
23304: [EDF 10304] Radial Quadrangle on ellipse
authoreap <eap@opencascade.com>
Mon, 1 Aug 2016 13:20:09 +0000 (16:20 +0300)
committereap <eap@opencascade.com>
Mon, 1 Aug 2016 13:20:09 +0000 (16:20 +0300)
 Fix a regression with quadratic elements

src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.cxx

index 9de3771..2cf790a 100644 (file)
@@ -582,7 +582,7 @@ namespace
     {
       if ( meshDS->FindEdge( nodes[i].node, nodes[i-1].node )) continue;
 
-      const SMDS_MeshElement* seg = meshDS->AddEdge( nodes[i].node, nodes[i-1].node );
+      const SMDS_MeshElement* seg = helper->AddEdge( nodes[i].node, nodes[i-1].node );
 
       double normParam = 0.5 * ( nodes[i].normParam + nodes[i-1].normParam );
       edgeID = linSide->EdgeID( linSide->EdgeIndex( normParam ));