From 69acc2e649d4608ee83c354e6b734d02c329292b Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 25 Jul 2011 08:26:16 +0000 Subject: [PATCH] 0021334: [CEA] non regression test : meshing error +#ifdef NETGEN_NEW + occgeo.face_maxh = netgen::mparam.maxh; +#endif --- src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 } // ------------------------- -- 2.39.2