X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ftest_uniform_refinement.py;h=9ce3534771d77453085dd37974221ed49cc40072;hb=refs%2Fheads%2Fjfa%2Funiform_refinement;hp=d4606bd2e2df47cbff19ec86cd31f1661e3a3cec;hpb=5336697bb45c5159b6977adf9719043a215ba514;p=modules%2Fsmesh.git 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)