X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Ftut%2Fmedcoupling%2Fpartition.py;h=0a27fa0eec3d6a410db8e82c465bd48bde2cfc60;hb=02e30f2d4869d29f7a39f158800f7d353f30bfa1;hp=4952cbc453b3146003341ccdc8ee7dd3d567a801;hpb=0d0b1478f016ab0c9cf4a95ba79e0c7455cf2137;p=modules%2Fmed.git diff --git a/doc/tut/medcoupling/partition.py b/doc/tut/medcoupling/partition.py index 4952cbc45..0a27fa0ee 100644 --- a/doc/tut/medcoupling/partition.py +++ b/doc/tut/medcoupling/partition.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2012-2016 CEA/DEN, EDF R&D +# Copyright (C) 2012-2023 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 @@ -26,7 +26,7 @@ # WRN: this use case does not require a med input file because the # data (mesh and field) to work with are created from scratch. -from MEDCoupling import * +from medcoupling import * # ======================================================= # Creation of the input data (mesh and field) @@ -76,4 +76,4 @@ numberOf3DVolSharing=revDescI.deltaShiftIndex() ids2D=numberOf3DVolSharing.findIdsEqual(1) skin_V650=m2D[ids2D] # We can check if the two skins are identical -print "Are two meshes equal between V660 and V650 ?",skin.isEqual(skin_V650,1e-12) +print("Are two meshes equal between V660 and V650 ?",skin.isEqual(skin_V650,1e-12))