Salome HOME
Unification des noms des maillages
[modules/smesh.git] / src / Tools / blocFissure / gmu / mailleAretesEtJonction.py
index 79bb48190701d285571a1d774f8c2c457cad24a1..36d53fb14e56545ced027a9ad69b01cd55513e2f 100644 (file)
@@ -60,10 +60,9 @@ def mailleAretesEtJonction (internalBoundary, aretesVivesCoupees, lgAretesVives,
     geomPublish(initLog.always, aretesVivesC, "aretesVives", nro_cas)
     meshAretesVives = smesh.Mesh(aretesVivesC)
     algo1d = meshAretesVives.Segment()
-    hypo1d = algo1d.LocalLength(lgAretesVives,[],1e-07)
     putName(algo1d.GetSubMesh(), "aretesVives", i_pref=nro_cas)
-    putName(algo1d, "algo1d_aretesVives", i_pref=nro_cas)
-    putName(hypo1d, "hypo1d_aretesVives", i_pref=nro_cas)
+    hypo1d = algo1d.LocalLength(lgAretesVives,[],1e-07)
+    putName(hypo1d, "aretesVives={}".format(lgAretesVives), i_pref=nro_cas)
 
     is_done = meshAretesVives.Compute()
     text = "meshAretesVives.Compute"