Salome HOME
MEDCoupling python module is expected to be replaced by medcoupling python module
[tools/medcoupling.git] / src / MEDCoupling_Swig / MEDCoupling.i
index 13e0b6eaf3b7da63c46c499391d14243906cfdb2..6f84bb74cbcf1ddd4d77098a2128b4345ef17b61 100644 (file)
@@ -17,6 +17,8 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+%module MEDCoupling
+
 %include "MEDCouplingCommon.i"
 
 %pythoncode %{
@@ -107,12 +109,22 @@ def MEDCouplingDataArrayIntTupleIdiv(self,*args):
 def MEDCouplingDataArrayIntTupleImod(self,*args):
     import _MEDCoupling
     return _MEDCoupling.DataArrayIntTuple____imod___(self, self, *args)
-def ParaMEDMEMDenseMatrixIadd(self,*args):
+def MEDCouplingDenseMatrixIadd(self,*args):
     import _MEDCoupling
     return _MEDCoupling.DenseMatrix____iadd___(self, self, *args)
-def ParaMEDMEMDenseMatrixIsub(self,*args):
+def MEDCouplingDenseMatrixIsub(self,*args):
     import _MEDCoupling
     return _MEDCoupling.DenseMatrix____isub___(self, self, *args)
 %}
 
 %include "MEDCouplingFinalize.i"
+
+%pythoncode %{
+print("""**************************************************************************************************
+"MEDCoupling" python module as been replaced by "medcoupling" for Salome9.
+
+"MEDCoupling" python module is still here for backwards compatibility reason but it is deprecated.
+
+Please replace "MEDCoupling" by "medcoupling" in you import line right now to remove this message.
+**************************************************************************************************""")
+%}