]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
suppress message "Algo supports no multi-parameter hypothesis" with Netgen-1D-2D-3D
authoreap <eap@opencascade.com>
Tue, 1 Mar 2011 14:36:06 +0000 (14:36 +0000)
committereap <eap@opencascade.com>
Tue, 1 Mar 2011 14:36:06 +0000 (14:36 +0000)
src/SMESH_SWIG/smeshDC.py

index 5c747288a122b74e5122bb26af4395ab19aa9f0d..a5dce4df87e8f919fb2f6a386958c7a2a6ef76cd 100644 (file)
@@ -5281,7 +5281,7 @@ class Mesh_Tetrahedron(Mesh_Algorithm):
                     self.params = self.Hypothesis("NETGEN_Parameters", [],
                                                   "libNETGENEngine.so", UseExisting=0)
 
-            if self.algoType == NETGEN:
+            elif self.algoType == NETGEN:
                 self.params = self.Hypothesis("NETGEN_Parameters_3D", [],
                                               "libNETGENEngine.so", UseExisting=0)
 
@@ -5293,7 +5293,7 @@ class Mesh_Tetrahedron(Mesh_Algorithm):
                 self.params = self.Hypothesis("GHS3DPRL_Parameters", [],
                                               "libGHS3DPRLEngine.so", UseExisting=0)
             else:
-                print "Algo supports no multi-parameter hypothesis"
+                print "Warning: %s supports no multi-parameter hypothesis"%self.algo.GetName()
 
         return self.params