From: eap Date: Tue, 26 Apr 2011 07:12:46 +0000 (+0000) Subject: 0020676: EDF 1212 GEOM: Partition operation creates vertices which X-Git-Tag: V6_3_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b5f9984499b03d7c7471a0f3ae892c955688fa0;p=plugins%2Fnetgenplugin.git 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen Fix regression with the nethgen-4.9.13 --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index a562eab..63b72fe 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -1738,6 +1738,10 @@ bool NETGENPlugin_Mesher::Compute() internals.getInternalEdges( intOccgeo.fmap, intOccgeo.emap, intOccgeo.vmap, meshedSM ); intOccgeo.boundingbox = occgeo.boundingbox; intOccgeo.shape = occgeo.shape; +#ifdef NETGEN_NEW + intOccgeo.face_maxh.SetSize(intOccgeo.fmap.Extent()); + intOccgeo.face_maxh = netgen::mparam.maxh; +#endif // let netgen compute element size by the main geometry in temporary mesh netgen::Mesh *tmpNgMesh = NULL;