]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Use AddBoundary in test jfa/uniform_refinement
authorjfa <jfa@opencascade.com>
Wed, 12 Jan 2022 11:24:37 +0000 (14:24 +0300)
committerjfa <jfa@opencascade.com>
Wed, 12 Jan 2022 11:24:37 +0000 (14:24 +0300)
doc/salome/examples/test_uniform_refinement.py

index d4606bd2e2df47cbff19ec86cd31f1661e3a3cec..9ce3534771d77453085dd37974221ed49cc40072 100644 (file)
@@ -30,7 +30,7 @@ cao_name = "CAO_PIQUAGE"
 smeshhomard = smesh.Adaptation("Uniform")
 smeshhomard.CreateBoundaryCAO(cao_name, input_xao_1)
 smeshhomard.CreateCase("PIQUAGE", input_med_1, working_dir)
-smeshhomard.AddBoundaryGroup(cao_name, "")
+smeshhomard.AddBoundary(cao_name)
 smeshhomard.SetConfType(0)
 smeshhomard.SetKeepMedOUT(True)
 smeshhomard.SetPublishMeshOUT(True)
@@ -73,7 +73,7 @@ if os.path.isfile(log_file_2):
 smeshhomard = smesh.Adaptation("Uniform")
 smeshhomard.CreateBoundaryDi("Boun_5_1", "MAIL_EXT", input_fr)
 smeshhomard.CreateCaseOnMesh("COEUR_2D", MAILL.GetMesh(), working_dir)
-smeshhomard.AddBoundaryGroup("Boun_5_1", "")
+smeshhomard.AddBoundary("Boun_5_1")
 smeshhomard.SetConfType(1)
 smeshhomard.SetKeepMedOUT(False)
 smeshhomard.SetPublishMeshOUT(True)