X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Ffiles%2Ftutorial_6.py;h=9e7f67d6c6e0497d78b5731367ccf0a6d4773bf1;hb=fc2e7857f2588dda1d55fd7203965eb08458b642;hp=bd235f3873f65ea1792c3b83e2fd5694513b7758;hpb=901dc2b7e146a3be930b3abfcd998cd8c49bb314;p=modules%2Fhomard.git diff --git a/doc/files/tutorial_6.py b/doc/files/tutorial_6.py index bd235f38..9e7f67d6 100755 --- a/doc/files/tutorial_6.py +++ b/doc/files/tutorial_6.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (C) 2011-2019 CEA/DEN, EDF R&D +# Copyright (C) 2011-2016 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -22,9 +22,9 @@ """ Exemple de couplage HOMARD-Salome -Copyright EDF 1996, 2011, 2018 +Copyright EDF 1996, 2011, 2019 """ -__revision__ = "V4.5" +__revision__ = "V4.06" # import os import sys @@ -35,12 +35,9 @@ PATH_HOMARD = os.getenv("HOMARD_ROOT_DIR") DATA_TUTORIAL = os.path.join(PATH_HOMARD, "share", "doc", "salome", "gui", "HOMARD", "fr", "_downloads") DATA_TUTORIAL = os.path.normpath(DATA_TUTORIAL) sys.path.append(DATA_TUTORIAL) -from tutorial_util import gzip_gunzip from tutorial_util import creation_dircase # ================================== DIRCASE = creation_dircase(6) -gzip_gunzip(DATA_TUTORIAL, 4, -1) -gzip_gunzip(DATA_TUTORIAL, 6, -1) # ================================== # import salome @@ -116,10 +113,5 @@ iter_6_3.SetMeshFile(os.path.join(DIRCASE, "maill.03.med")) iter_6_3.AssociateHypo('hypo_6_bis') erreur = iter_6_3.Compute(1, 2) # -# ================================== -gzip_gunzip(DATA_TUTORIAL, 4, 1) -gzip_gunzip(DATA_TUTORIAL, 6, 1) -# ================================== - if salome.sg.hasDesktop(): salome.sg.updateObjBrowser()