From: ageay Date: Fri, 29 Jun 2012 11:00:28 +0000 (+0000) Subject: Clean management of debuging of iadd,isub in swig of MEDCoupling X-Git-Tag: V6_main_FINAL~613 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73223fd320ad244ef0b3776dafed13aa1ab7f162;p=tools%2Fmedcoupling.git Clean management of debuging of iadd,isub in swig of MEDCoupling --- diff --git a/src/ParaMEDMEM_Swig/ParaMEDMEM.i b/src/ParaMEDMEM_Swig/ParaMEDMEM.i index 58aae1138..e94624fee 100644 --- a/src/ParaMEDMEM_Swig/ParaMEDMEM.i +++ b/src/ParaMEDMEM_Swig/ParaMEDMEM.i @@ -20,8 +20,7 @@ %module ParaMEDMEM %include "ParaMEDMEM.typemap" -%include "MEDCoupling.i" -%include "MEDLoader.i" +%include "MEDLoaderCommon.i" %{ #include "CommInterface.hxx" @@ -259,3 +258,46 @@ int MPI_Finalize(); } %} +%pythoncode %{ +def ParaMEDMEMDataArrayDoubleIadd(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayDouble____iadd___(self, self, *args) +def ParaMEDMEMDataArrayDoubleIsub(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayDouble____isub___(self, self, *args) +def ParaMEDMEMDataArrayDoubleImul(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayDouble____imul___(self, self, *args) +def ParaMEDMEMDataArrayDoubleIdiv(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayDouble____idiv___(self, self, *args) +def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.MEDCouplingFieldDouble____iadd___(self, self, *args) +def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.MEDCouplingFieldDouble____isub___(self, self, *args) +def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.MEDCouplingFieldDouble____imul___(self, self, *args) +def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.MEDCouplingFieldDouble____idiv___(self, self, *args) +def ParaMEDMEMDataArrayIntIadd(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayInt____iadd___(self, self, *args) +def ParaMEDMEMDataArrayIntIsub(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayInt____isub___(self, self, *args) +def ParaMEDMEMDataArrayIntImul(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayInt____imul___(self, self, *args) +def ParaMEDMEMDataArrayIntIdiv(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayInt____idiv___(self, self, *args) +def ParaMEDMEMDataArrayIntImod(self,*args): + import _ParaMEDMEM + return _ParaMEDMEM.DataArrayInt____imod___(self, self, *args) +%} + +%include "MEDCouplingFinalize.i"