From: jfa Date: Wed, 12 Jan 2022 11:24:37 +0000 (+0300) Subject: Use AddBoundary in test X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fjfa%2Funiform_refinement;p=modules%2Fsmesh.git Use AddBoundary in test --- 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)