]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
(fix elem size for "LengthFromEdges" + "QuadraticMesh") - 2
authoreap <eap@opencascade.com>
Tue, 18 Apr 2006 13:18:44 +0000 (13:18 +0000)
committereap <eap@opencascade.com>
Tue, 18 Apr 2006 13:18:44 +0000 (13:18 +0000)
src/StdMeshers/StdMeshers_MEFISTO_2D.cxx

index 87b8e797e6f5a0203b94ba27e7e19daea7bf6473..7e690914d70381bdb4224750cfa3b4e561b00a91 100644 (file)
@@ -221,7 +221,7 @@ bool StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh
   _quadraticMesh = myTool->IsQuadraticSubMesh(aShape);
 
   if ( _quadraticMesh && _hypLengthFromEdges )
-    _edgeLength *= 2.;
+    aretmx *= 2.;
 
   myOuterWire = BRepTools::OuterWire(F);
   nbpnt += NumberOfPoints(aMesh, myOuterWire);