From: eap Date: Fri, 20 Jul 2007 11:27:20 +0000 (+0000) Subject: PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ? X-Git-Tag: T15881~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a1dcc2d0481edc85abf33516a1437eca4086d51;p=plugins%2Fnetgenplugin.git PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ? + NETGENPlugin_Mesher::RemoveTmpFiles(); --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index ab17247..467781b 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -30,6 +30,8 @@ using namespace std; #include "NETGENPlugin_NETGEN_3D.hxx" +#include "NETGENPlugin_Mesher.hxx" + #include "SMDS_MeshElement.hxx" #include "SMDS_MeshNode.hxx" #include "SMESHDS_Mesh.hxx" @@ -389,5 +391,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh, Ng_DeleteMesh(Netgen_mesh); Ng_Exit(); + NETGENPlugin_Mesher::RemoveTmpFiles(); + return (status == NG_OK); }