From a4a40e7ea00877aee8919c22eea68a21cf66bac2 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 12 Jan 2022 14:24:37 +0300 Subject: [PATCH] Use AddBoundary in test --- doc/salome/examples/test_uniform_refinement.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/salome/examples/test_uniform_refinement.py b/doc/salome/examples/test_uniform_refinement.py index d4606bd2e..9ce353477 100644 --- a/doc/salome/examples/test_uniform_refinement.py +++ b/doc/salome/examples/test_uniform_refinement.py @@ -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) -- 2.39.2