]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0020676: EDF 1212 GEOM: Partition operation creates vertices which V6_3_0b1
authoreap <eap@opencascade.com>
Tue, 26 Apr 2011 07:12:46 +0000 (07:12 +0000)
committereap <eap@opencascade.com>
Tue, 26 Apr 2011 07:12:46 +0000 (07:12 +0000)
         causes mesh computation to fail with netgen
 Fix regression with the nethgen-4.9.13

src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index a562eaba6efdb3a9d387a4de27e2ef71adb8144e..63b72fef209d6775d4175ca6b0ec266f8ab714e8 100644 (file)
@@ -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;