X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling_Swig%2FMEDCoupling.i;h=6f84bb74cbcf1ddd4d77098a2128b4345ef17b61;hb=4d0ebd22172dae3f8fa27f72372408fdd18db5b0;hp=13e0b6eaf3b7da63c46c499391d14243906cfdb2;hpb=730fb0db9239604a3a012b55fce738a54bf06912;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling_Swig/MEDCoupling.i b/src/MEDCoupling_Swig/MEDCoupling.i index 13e0b6eaf..6f84bb74c 100644 --- a/src/MEDCoupling_Swig/MEDCoupling.i +++ b/src/MEDCoupling_Swig/MEDCoupling.i @@ -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. +**************************************************************************************************""") +%}