]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL21423 TC_513 import SMEH_test.py failed
authordmv <dmv@opencascade.com>
Thu, 22 Oct 2009 09:41:29 +0000 (09:41 +0000)
committerdmv <dmv@opencascade.com>
Thu, 22 Oct 2009 09:41:29 +0000 (09:41 +0000)
idl/SMESH_Mesh.idl
src/SMESHDS/SMESHDS_CommandType.hxx
src/SMESH_SWIG/SMESH_test.py

index fff0c51208e520826e4de5c40fdcfa9b16f73936..8a5c37daa91e4dd4348f67488e87d4b30da0e87c 100644 (file)
@@ -46,7 +46,6 @@ module SMESH
   enum log_command
     {
       ADD_NODE,
-      ADD_ELEM0D,
       ADD_EDGE,
       ADD_TRIANGLE,
       ADD_QUADRANGLE,
@@ -69,7 +68,8 @@ module SMESH
       ADD_QUADTETRAHEDRON,
       ADD_QUADPYRAMID,
       ADD_QUADPENTAHEDRON,
-      ADD_QUADHEXAHEDRON
+      ADD_QUADHEXAHEDRON,
+      ADD_ELEM0D
     };
 
   struct log_block
index a033961bc2f1d7522ec360011ccd7668238a55d5..7279ba932043b6e956350c586a6015735a5d89ce 100644 (file)
@@ -30,7 +30,6 @@
 
 enum SMESHDS_CommandType { 
   SMESHDS_AddNode,
-  SMESHDS_Add0DElement,
   SMESHDS_AddEdge,
   SMESHDS_AddTriangle,
   SMESHDS_AddQuadrangle,
@@ -54,7 +53,9 @@ enum SMESHDS_CommandType {
   SMESHDS_AddQuadTetrahedron,
   SMESHDS_AddQuadPyramid,
   SMESHDS_AddQuadPentahedron,
-  SMESHDS_AddQuadHexahedron
+  SMESHDS_AddQuadHexahedron,
+  // special type for 0D elements
+  SMESHDS_Add0DElement
 };
 
 
index 73c31a72113b2519bef24a9653fd9819225da374..da4eda8435792be5748c968878892caaed30a8d6 100644 (file)
@@ -130,5 +130,5 @@ for a in log:
             i2 = a.indexes[ii]
             ii = ii+1
             i3 = a.indexes[ii]
-            #ii = ii+1
+            ii = ii+1
             print "AddTriangle %i - %i %i %i" % (ind, i1, i2, i3)