From: eap Date: Mon, 25 Jul 2011 08:26:16 +0000 (+0000) Subject: 0021334: [CEA] non regression test : meshing error X-Git-Tag: V6_4_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69acc2e649d4608ee83c354e6b734d02c329292b;p=plugins%2Fnetgenplugin.git 0021334: [CEA] non regression test : meshing error +#ifdef NETGEN_NEW + occgeo.face_maxh = netgen::mparam.maxh; +#endif --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index 31b8dce..5d22232 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -441,6 +441,9 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, netgen::mparam.minh = aMesher.GetDefaultMinSize( aShape, netgen::mparam.maxh ); netgen::mparam.quad = _hypQuadranglePreference ? 1 : 0; netgen::mparam.grading = 0.7; // very coarse mesh by default +#ifdef NETGEN_NEW + occgeo.face_maxh = netgen::mparam.maxh; +#endif } // -------------------------