From 9b5f9984499b03d7c7471a0f3ae892c955688fa0 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 26 Apr 2011 07:12:46 +0000 Subject: [PATCH] 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen Fix regression with the nethgen-4.9.13 --- src/NETGENPlugin/NETGENPlugin_Mesher.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2