]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Passage en attribut du maillage résultat
authorGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Mon, 26 Apr 2021 14:02:24 +0000 (16:02 +0200)
committerGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Mon, 26 Apr 2021 14:02:24 +0000 (16:02 +0200)
src/Tools/blocFissure/gmu/fissureGenerique.py

index f053e93bfeba254e9dd66f8ba41192f3750e7105..0092b64621258a0db1856583ae23f8b7c25d6401 100644 (file)
@@ -34,6 +34,7 @@ class fissureGenerique(object):
   """
 
   nomProbleme = "fissureGenerique"
+  maillageFissure = None
   geomParams = dict()
   meshParams = dict()
   shapeFissureParams = dict()
@@ -132,10 +133,10 @@ class fissureGenerique(object):
     if step == 4:
       return
 
-    maillageFissure = self.genereMaillageFissure(geometriesSaines, maillagesSains, \
-                                                 shapesFissure, self.shapeFissureParams, self.maillageFissureParams, \
-                                                 elementsDefaut, step, mailleur)
+    self.maillageFissure = self.genereMaillageFissure(geometriesSaines, maillagesSains, \
+                                                      shapesFissure, self.shapeFissureParams, self.maillageFissureParams, \
+                                                      elementsDefaut, step, mailleur)
 
     self.setReferencesMaillageFissure()
-    ok_maillage = getStatsMaillageFissure(maillageFissure, self.referencesMaillageFissure, self.maillageFissureParams)
+    ok_maillage = getStatsMaillageFissure(self.maillageFissure, self.referencesMaillageFissure, self.maillageFissureParams)
     return ok_maillage