]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Correction for test
authorYoann Audouin <yoann.audouin@edf.fr>
Thu, 29 Sep 2022 14:30:47 +0000 (16:30 +0200)
committerYoann Audouin <yoann.audouin@edf.fr>
Tue, 18 Oct 2022 13:02:19 +0000 (15:02 +0200)
test/netgen_runner.py

index 9740b2676132145f8e9d7c2df2cd3765c01894da..a23c7e9ce590816fa5026dfe48ba522f86362481 100644 (file)
@@ -100,15 +100,15 @@ def test_netgen3d():
       print(cmd)
       subprocess.check_call(cmd, shell=True)
 
-      meshRead = mc.ReadUMeshFromFile (output_mesh, "Maillage_1", 0)
+      meshRead = mc.ReadUMeshFromFile (output_mesh, "MESH", 0)
 
       nbTetras = meshRead.getNumberOfCellsWithType(mc.NORM_TETRA4)
       nbPoints = meshRead.getNumberOfNodes()
 
-      meshRead = mc.ReadUMeshFromFile (output_mesh, "Maillage_1", -1)
+      meshRead = mc.ReadUMeshFromFile (output_mesh, "MESH", -1)
       nbTriangles = meshRead.getNumberOfCellsWithType(mc.NORM_TRI3)
 
-      meshRead = mc.ReadUMeshFromFile (output_mesh, "Maillage_1", -2)
+      meshRead = mc.ReadUMeshFromFile (output_mesh, "MESH", -2)
       nbSegments = meshRead.getNumberOfCellsWithType(mc.NORM_SEG2)
 
       print("Nb Tetras:", nbTetras)