Salome HOME
updated copyright message
[modules/med.git] / doc / tut / medcoupling / partition.py
index 4952cbc453b3146003341ccdc8ee7dd3d567a801..0a27fa0eec3d6a410db8e82c465bd48bde2cfc60 100644 (file)
@@ -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))