From: eap Date: Fri, 20 Jul 2007 11:27:49 +0000 (+0000) Subject: PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ? X-Git-Tag: T15881~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7caa73779733490e1135e3c830b1a9fdb2f70132;p=plugins%2Fnetgenplugin.git PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ? + else if (strcmp(aHypName, "NETGEN_2D_ONLY") == 0) + aCreator = new NETGENPlugin_Creator_i; --- diff --git a/src/NETGENPlugin/NETGENPlugin_i.cxx b/src/NETGENPlugin/NETGENPlugin_i.cxx index 720ba0a..ffb4a5e 100644 --- a/src/NETGENPlugin/NETGENPlugin_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_i.cxx @@ -31,6 +31,7 @@ using namespace std; #include "NETGENPlugin_NETGEN_3D_i.hxx" #include "NETGENPlugin_NETGEN_2D_i.hxx" +#include "NETGENPlugin_NETGEN_2D_ONLY_i.hxx" #include "NETGENPlugin_NETGEN_2D3D_i.hxx" #include "NETGENPlugin_Hypothesis_i.hxx" #include "NETGENPlugin_Hypothesis_2D_i.hxx" @@ -62,6 +63,8 @@ extern "C" aCreator = new NETGENPlugin_Creator_i; else if (strcmp(aHypName, "NETGEN_2D") == 0) aCreator = new NETGENPlugin_Creator_i; + else if (strcmp(aHypName, "NETGEN_2D_ONLY") == 0) + aCreator = new NETGENPlugin_Creator_i; else if (strcmp(aHypName, "NETGEN_2D3D") == 0) aCreator = new NETGENPlugin_Creator_i; // Hypotheses