From: eap Date: Tue, 10 Mar 2009 10:55:29 +0000 (+0000) Subject: 0020198: EDF NETGENPLUGIN 979 : mesh of parallepiped with Netgen1D2D3D crashes Salome X-Git-Tag: V4_1_5~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8252687a67ca8bc5a0fa65e69dca7a6f8bdedcd8;p=plugins%2Fnetgenplugin.git 0020198: EDF NETGENPLUGIN 979 : mesh of parallepiped with Netgen1D2D3D crashes Salome - mparams.grading = 0; + mparams.grading = 0.01; --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 0d86eca..1ba3b09 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -549,7 +549,7 @@ bool NETGENPlugin_Mesher::Compute() // nb of segments mparams.segmentsperedge = nbSeg + 0.1; mparams.maxh = occgeo.boundingbox.Diam(); - mparams.grading = 0; + mparams.grading = 0.01; } else { // segment length