Salome HOME
Copyright update 2020
[modules/med.git] / doc / tut / medcoupling / testmed_lena.py
index 4054e08f5e8b673f1b247607cbfdc937a6a06ef5..4d4162a3a0d1345736bbc1174949617c038736ee 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
-# Copyright (C) 2011-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2011-2020  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
@@ -25,7 +25,7 @@
 
 import os
 
-import MEDCoupling as MC
+import medcoupling as MC
 import MEDLoader as ML
 
 #
@@ -100,7 +100,7 @@ cmesh.setCoords(coordsX,coordsY)
 print("Imagem mesh dimension: %d"%cmesh.getSpaceDimension())
 
 # WARN: In the current state of development of MEDLoader, only
-# unstructured meshes are supported for writting function in med
+# unstructured meshes are supported for writing function in med
 # files. We just have to convert the cartesian mesh in an unstructured
 # mesh before creating the field.
 umesh=cmesh.buildUnstructured();