]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0021411: EDF 2000 SMESH: Netgen 2D fails on shapes meshed with "composite side" in 1D
authoreap <eap@opencascade.com>
Tue, 1 Nov 2011 15:59:20 +0000 (15:59 +0000)
committereap <eap@opencascade.com>
Tue, 1 Nov 2011 15:59:20 +0000 (15:59 +0000)
-            seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node );
+       //   seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node );

src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx

index d84a1c6284f278120b2b1cbd532561615f3701e3..06a5bc42383839eaac857aef255c058ece2bdcf9 100644 (file)
@@ -292,8 +292,8 @@ static TError addSegmentsToMesh(netgen::Mesh&                    ngMesh,
           edgeID = geom.emap.FindIndex( edge );
           posID  = posShapeID;
           isInternalWire = ( edge.Orientation() == TopAbs_INTERNAL );
-          if ( onVertex ) // param on curve is different on each of two edges
-            seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node );
+          // if ( onVertex ) // param on curve is different on each of two edges
+          //   seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node );
         }
         seg.epgeominfo[ iEnd ].edgenr = edgeID; //  = geom.emap.FindIndex(edge);
       }