X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling_Swig%2FMEDCoupling.i;h=6f84bb74cbcf1ddd4d77098a2128b4345ef17b61;hb=4d0ebd22172dae3f8fa27f72372408fdd18db5b0;hp=0cc0082dcea9181fa9207d14988e6ddfb9dc167e;hpb=6f4704cbb6e4b264c28bd3c3eb693fbfe77c83dd;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling_Swig/MEDCoupling.i b/src/MEDCoupling_Swig/MEDCoupling.i index 0cc0082dc..6f84bb74c 100644 --- a/src/MEDCoupling_Swig/MEDCoupling.i +++ b/src/MEDCoupling_Swig/MEDCoupling.i @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 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 @@ -17,90 +17,114 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +%module MEDCoupling + %include "MEDCouplingCommon.i" %pythoncode %{ -def ParaMEDMEMDataArrayDoubleIadd(self,*args): +def MEDCouplingDataArrayDoubleIadd(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDouble____iadd___(self, self, *args) -def ParaMEDMEMDataArrayDoubleIsub(self,*args): +def MEDCouplingDataArrayDoubleIsub(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDouble____isub___(self, self, *args) -def ParaMEDMEMDataArrayDoubleImul(self,*args): +def MEDCouplingDataArrayDoubleImul(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDouble____imul___(self, self, *args) -def ParaMEDMEMDataArrayDoubleIdiv(self,*args): +def MEDCouplingDataArrayDoubleIdiv(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDouble____idiv___(self, self, *args) -def ParaMEDMEMDataArrayDoubleIpow(self,*args): +def MEDCouplingDataArrayDoubleIpow(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDouble____ipow___(self, self, *args) -def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args): +def MEDCouplingFieldDoubleIadd(self,*args): import _MEDCoupling return _MEDCoupling.MEDCouplingFieldDouble____iadd___(self, self, *args) -def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args): +def MEDCouplingFieldDoubleIsub(self,*args): import _MEDCoupling return _MEDCoupling.MEDCouplingFieldDouble____isub___(self, self, *args) -def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args): +def MEDCouplingFieldDoubleImul(self,*args): import _MEDCoupling return _MEDCoupling.MEDCouplingFieldDouble____imul___(self, self, *args) -def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args): +def MEDCouplingFieldDoubleIdiv(self,*args): import _MEDCoupling return _MEDCoupling.MEDCouplingFieldDouble____idiv___(self, self, *args) -def ParaMEDMEMMEDCouplingFieldDoubleIpow(self,*args): +def MEDCouplingFieldDoubleIpow(self,*args): import _MEDCoupling return _MEDCoupling.MEDCouplingFieldDouble____ipow___(self, self, *args) -def ParaMEDMEMDataArrayIntIadd(self,*args): +def MEDCouplingDataArrayIntIadd(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____iadd___(self, self, *args) -def ParaMEDMEMDataArrayIntIsub(self,*args): +def MEDCouplingDataArrayIntIsub(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____isub___(self, self, *args) -def ParaMEDMEMDataArrayIntImul(self,*args): +def MEDCouplingDataArrayIntImul(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____imul___(self, self, *args) -def ParaMEDMEMDataArrayIntIdiv(self,*args): +def MEDCouplingDataArrayIntIdiv(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____idiv___(self, self, *args) -def ParaMEDMEMDataArrayIntImod(self,*args): +def MEDCouplingDataArrayIntImod(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____imod___(self, self, *args) -def ParaMEDMEMDataArrayIntIpow(self,*args): +def MEDCouplingDataArrayIntIpow(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayInt____ipow___(self, self, *args) -def ParaMEDMEMDataArrayDoubleTupleIadd(self,*args): +def MEDCouplingDataArrayFloatIadd(self,*args): + import _MEDCoupling + return _MEDCoupling.DataArrayFloat____iadd___(self, self, *args) +def MEDCouplingDataArrayFloatIsub(self,*args): + import _MEDCoupling + return _MEDCoupling.DataArrayFloat____isub___(self, self, *args) +def MEDCouplingDataArrayFloatImul(self,*args): + import _MEDCoupling + return _MEDCoupling.DataArrayFloat____imul___(self, self, *args) +def MEDCouplingDataArrayFloatIdiv(self,*args): + import _MEDCoupling + return _MEDCoupling.DataArrayFloat____idiv___(self, self, *args) +def MEDCouplingDataArrayDoubleTupleIadd(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDoubleTuple____iadd___(self, self, *args) -def ParaMEDMEMDataArrayDoubleTupleIsub(self,*args): +def MEDCouplingDataArrayDoubleTupleIsub(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDoubleTuple____isub___(self, self, *args) -def ParaMEDMEMDataArrayDoubleTupleImul(self,*args): +def MEDCouplingDataArrayDoubleTupleImul(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDoubleTuple____imul___(self, self, *args) -def ParaMEDMEMDataArrayDoubleTupleIdiv(self,*args): +def MEDCouplingDataArrayDoubleTupleIdiv(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayDoubleTuple____idiv___(self, self, *args) -def ParaMEDMEMDataArrayIntTupleIadd(self,*args): +def MEDCouplingDataArrayIntTupleIadd(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayIntTuple____iadd___(self, self, *args) -def ParaMEDMEMDataArrayIntTupleIsub(self,*args): +def MEDCouplingDataArrayIntTupleIsub(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayIntTuple____isub___(self, self, *args) -def ParaMEDMEMDataArrayIntTupleImul(self,*args): +def MEDCouplingDataArrayIntTupleImul(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayIntTuple____imul___(self, self, *args) -def ParaMEDMEMDataArrayIntTupleIdiv(self,*args): +def MEDCouplingDataArrayIntTupleIdiv(self,*args): import _MEDCoupling return _MEDCoupling.DataArrayIntTuple____idiv___(self, self, *args) -def ParaMEDMEMDataArrayIntTupleImod(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. +**************************************************************************************************""") +%}