Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MEDCoupling_Swig / MEDCoupling.i
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 %include "MEDCouplingCommon.i"
21
22 %pythoncode %{
23 def ParaMEDMEMDataArrayDoubleIadd(self,*args):
24     import _MEDCoupling
25     return _MEDCoupling.DataArrayDouble____iadd___(self, self, *args)
26 def ParaMEDMEMDataArrayDoubleIsub(self,*args):
27     import _MEDCoupling
28     return _MEDCoupling.DataArrayDouble____isub___(self, self, *args)
29 def ParaMEDMEMDataArrayDoubleImul(self,*args):
30     import _MEDCoupling
31     return _MEDCoupling.DataArrayDouble____imul___(self, self, *args)
32 def ParaMEDMEMDataArrayDoubleIdiv(self,*args):
33     import _MEDCoupling
34     return _MEDCoupling.DataArrayDouble____idiv___(self, self, *args)
35 def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
36     import _MEDCoupling
37     return _MEDCoupling.MEDCouplingFieldDouble____iadd___(self, self, *args)
38 def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
39     import _MEDCoupling
40     return _MEDCoupling.MEDCouplingFieldDouble____isub___(self, self, *args)
41 def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
42     import _MEDCoupling
43     return _MEDCoupling.MEDCouplingFieldDouble____imul___(self, self, *args)
44 def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
45     import _MEDCoupling
46     return _MEDCoupling.MEDCouplingFieldDouble____idiv___(self, self, *args)
47 def ParaMEDMEMDataArrayIntIadd(self,*args):
48     import _MEDCoupling
49     return _MEDCoupling.DataArrayInt____iadd___(self, self, *args)
50 def ParaMEDMEMDataArrayIntIsub(self,*args):
51     import _MEDCoupling
52     return _MEDCoupling.DataArrayInt____isub___(self, self, *args)
53 def ParaMEDMEMDataArrayIntImul(self,*args):
54     import _MEDCoupling
55     return _MEDCoupling.DataArrayInt____imul___(self, self, *args)
56 def ParaMEDMEMDataArrayIntIdiv(self,*args):
57     import _MEDCoupling
58     return _MEDCoupling.DataArrayInt____idiv___(self, self, *args)
59 def ParaMEDMEMDataArrayIntImod(self,*args):
60     import _MEDCoupling
61     return _MEDCoupling.DataArrayInt____imod___(self, self, *args)
62 %}
63
64 %include "MEDCouplingFinalize.i"