From: eap Date: Tue, 10 Mar 2009 10:51:11 +0000 (+0000) Subject: 0020198: EDF NETGENPLUGIN 979 : mesh of parallepiped with Netgen1D2D3D crashes Salome X-Git-Tag: V5_1_1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92aed1e51067201033bbc939bff6b639135693df;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