Salome HOME
3f8ba08bbffb3c4b25e18e817bdbfbb0debbdaff
[tools/medcoupling.git] / src / ParaMEDMEM_Swig / ParaMEDMEM.i
1 // Copyright (C) 2007-2016  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, or (at your option) any later version.
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 // Author : Anthony Geay (EDF R&D)
21
22 %module ParaMEDMEM
23
24 #define MEDCOUPLING_EXPORT
25 #define INTERPKERNEL_EXPORT
26
27 %include "MEDCouplingCommon.i"
28
29 %include "ParaMEDMEMCommon.i"
30
31 %pythoncode %{
32 def MEDCouplingDataArrayDoubleIadd(self,*args):
33     import _ParaMEDMEM
34     return _ParaMEDMEM.DataArrayDouble____iadd___(self, self, *args)
35 def MEDCouplingDataArrayDoubleIsub(self,*args):
36     import _ParaMEDMEM
37     return _ParaMEDMEM.DataArrayDouble____isub___(self, self, *args)
38 def MEDCouplingDataArrayDoubleImul(self,*args):
39     import _ParaMEDMEM
40     return _ParaMEDMEM.DataArrayDouble____imul___(self, self, *args)
41 def MEDCouplingDataArrayDoubleIdiv(self,*args):
42     import _ParaMEDMEM
43     return _ParaMEDMEM.DataArrayDouble____idiv___(self, self, *args)
44 def MEDCouplingDataArrayDoubleIpow(self,*args):
45     import _ParaMEDMEM
46     return _ParaMEDMEM.DataArrayDouble____ipow___(self, self, *args)
47 def MEDCouplingFieldDoubleIadd(self,*args):
48     import _ParaMEDMEM
49     return _ParaMEDMEM.MEDCouplingFieldDouble____iadd___(self, self, *args)
50 def MEDCouplingFieldDoubleIsub(self,*args):
51     import _ParaMEDMEM
52     return _ParaMEDMEM.MEDCouplingFieldDouble____isub___(self, self, *args)
53 def MEDCouplingFieldDoubleImul(self,*args):
54     import _ParaMEDMEM
55     return _ParaMEDMEM.MEDCouplingFieldDouble____imul___(self, self, *args)
56 def MEDCouplingFieldDoubleIdiv(self,*args):
57     import _ParaMEDMEM
58     return _ParaMEDMEM.MEDCouplingFieldDouble____idiv___(self, self, *args)
59 def MEDCouplingFieldDoubleIpow(self,*args):
60     import _ParaMEDMEM
61     return _ParaMEDMEM.MEDCouplingFieldDouble____ipow___(self, self, *args)
62 def MEDCouplingDataArrayIntIadd(self,*args):
63     import _ParaMEDMEM
64     return _ParaMEDMEM.DataArrayInt____iadd___(self, self, *args)
65 def MEDCouplingDataArrayIntIsub(self,*args):
66     import _ParaMEDMEM
67     return _ParaMEDMEM.DataArrayInt____isub___(self, self, *args)
68 def MEDCouplingDataArrayIntImul(self,*args):
69     import _ParaMEDMEM
70     return _ParaMEDMEM.DataArrayInt____imul___(self, self, *args)
71 def MEDCouplingDataArrayIntIdiv(self,*args):
72     import _ParaMEDMEM
73     return _ParaMEDMEM.DataArrayInt____idiv___(self, self, *args)
74 def MEDCouplingDataArrayIntImod(self,*args):
75     import _ParaMEDMEM
76     return _ParaMEDMEM.DataArrayInt____imod___(self, self, *args)
77 def MEDCouplingDataArrayIntIpow(self,*args):
78     import _ParaMEDMEM
79     return _ParaMEDMEM.DataArrayInt____ipow___(self, self, *args)
80 def MEDCouplingDataArrayFloatIadd(self,*args):
81     import _ParaMEDMEM
82     return _ParaMEDMEM.DataArrayFloat____iadd___(self, self, *args)
83 def MEDCouplingDataArrayFloatIsub(self,*args):
84     import _ParaMEDMEM
85     return _ParaMEDMEM.DataArrayFloat____isub___(self, self, *args)
86 def MEDCouplingDataArrayFloatImul(self,*args):
87     import _ParaMEDMEM
88     return _ParaMEDMEM.DataArrayFloat____imul___(self, self, *args)
89 def MEDCouplingDataArrayFloatIdiv(self,*args):
90     import _ParaMEDMEM
91     return _ParaMEDMEM.DataArrayFloat____idiv___(self, self, *args)
92 def MEDCouplingDataArrayDoubleTupleIadd(self,*args):
93     import _ParaMEDMEM
94     return _ParaMEDMEM.DataArrayDoubleTuple____iadd___(self, self, *args)
95 def MEDCouplingDataArrayDoubleTupleIsub(self,*args):
96     import _ParaMEDMEM
97     return _ParaMEDMEM.DataArrayDoubleTuple____isub___(self, self, *args)
98 def MEDCouplingDataArrayDoubleTupleImul(self,*args):
99     import _ParaMEDMEM
100     return _ParaMEDMEM.DataArrayDoubleTuple____imul___(self, self, *args)
101 def MEDCouplingDataArrayDoubleTupleIdiv(self,*args):
102     import _ParaMEDMEM
103     return _ParaMEDMEM.DataArrayDoubleTuple____idiv___(self, self, *args)
104 def MEDCouplingDataArrayIntTupleIadd(self,*args):
105     import _ParaMEDMEM
106     return _ParaMEDMEM.DataArrayIntTuple____iadd___(self, self, *args)
107 def MEDCouplingDataArrayIntTupleIsub(self,*args):
108     import _ParaMEDMEM
109     return _ParaMEDMEM.DataArrayIntTuple____isub___(self, self, *args)
110 def MEDCouplingDataArrayIntTupleImul(self,*args):
111     import _ParaMEDMEM
112     return _ParaMEDMEM.DataArrayIntTuple____imul___(self, self, *args)
113 def MEDCouplingDataArrayIntTupleIdiv(self,*args):
114     import _ParaMEDMEM
115     return _ParaMEDMEM.DataArrayIntTuple____idiv___(self, self, *args)
116 def MEDCouplingDataArrayIntTupleImod(self,*args):
117     import _ParaMEDMEM
118     return _ParaMEDMEM.DataArrayIntTuple____imod___(self, self, *args)
119 def MEDCouplingDenseMatrixIadd(self,*args):
120     import _ParaMEDMEM
121     return _ParaMEDMEM.DenseMatrix____iadd___(self, self, *args)
122 def MEDCouplingDenseMatrixIsub(self,*args):
123     import _ParaMEDMEM
124     return _ParaMEDMEM.DenseMatrix____isub___(self, self, *args)
125 %}
126
127 %include "MEDCouplingFinalize.i"