Salome HOME
[ICoCo] ICoCo interface version 2
[tools/medcoupling.git] / src / ParaMEDMEM_Swig / ParaMEDMEM.i
1 // Copyright (C) 2007-2021  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 %include "ICoCoMEDField.i"
29
30 %include "ParaMEDMEMCommon.i"
31
32 %pythoncode %{
33 def MEDCouplingDataArrayDoubleIadd(self,*args):
34     import _ParaMEDMEM
35     return _ParaMEDMEM.DataArrayDouble____iadd___(self, self, *args)
36 def MEDCouplingDataArrayDoubleIsub(self,*args):
37     import _ParaMEDMEM
38     return _ParaMEDMEM.DataArrayDouble____isub___(self, self, *args)
39 def MEDCouplingDataArrayDoubleImul(self,*args):
40     import _ParaMEDMEM
41     return _ParaMEDMEM.DataArrayDouble____imul___(self, self, *args)
42 def MEDCouplingDataArrayDoubleIdiv(self,*args):
43     import _ParaMEDMEM
44     return _ParaMEDMEM.DataArrayDouble____idiv___(self, self, *args)
45 def MEDCouplingDataArrayDoubleIpow(self,*args):
46     import _ParaMEDMEM
47     return _ParaMEDMEM.DataArrayDouble____ipow___(self, self, *args)
48 def MEDCouplingFieldDoubleIadd(self,*args):
49     import _ParaMEDMEM
50     return _ParaMEDMEM.MEDCouplingFieldDouble____iadd___(self, self, *args)
51 def MEDCouplingFieldDoubleIsub(self,*args):
52     import _ParaMEDMEM
53     return _ParaMEDMEM.MEDCouplingFieldDouble____isub___(self, self, *args)
54 def MEDCouplingFieldDoubleImul(self,*args):
55     import _ParaMEDMEM
56     return _ParaMEDMEM.MEDCouplingFieldDouble____imul___(self, self, *args)
57 def MEDCouplingFieldDoubleIdiv(self,*args):
58     import _ParaMEDMEM
59     return _ParaMEDMEM.MEDCouplingFieldDouble____idiv___(self, self, *args)
60 def MEDCouplingFieldDoubleIpow(self,*args):
61     import _ParaMEDMEM
62     return _ParaMEDMEM.MEDCouplingFieldDouble____ipow___(self, self, *args)
63 def MEDCouplingDataArrayIntIadd(self,*args):
64     import _ParaMEDMEM
65     return _ParaMEDMEM.DataArrayInt____iadd___(self, self, *args)
66 def MEDCouplingDataArrayIntIsub(self,*args):
67     import _ParaMEDMEM
68     return _ParaMEDMEM.DataArrayInt____isub___(self, self, *args)
69 def MEDCouplingDataArrayIntImul(self,*args):
70     import _ParaMEDMEM
71     return _ParaMEDMEM.DataArrayInt____imul___(self, self, *args)
72 def MEDCouplingDataArrayIntIdiv(self,*args):
73     import _ParaMEDMEM
74     return _ParaMEDMEM.DataArrayInt____idiv___(self, self, *args)
75 def MEDCouplingDataArrayIntImod(self,*args):
76     import _ParaMEDMEM
77     return _ParaMEDMEM.DataArrayInt____imod___(self, self, *args)
78 def MEDCouplingDataArrayIntIpow(self,*args):
79     import _ParaMEDMEM
80     return _ParaMEDMEM.DataArrayInt____ipow___(self, self, *args)
81 def MEDCouplingDataArrayInt32Iadd(self,*args):
82     import _ParaMEDMEM
83     return _ParaMEDMEM.DataArrayInt32____iadd___(self, self, *args)
84 def MEDCouplingDataArrayInt32Isub(self,*args):
85     import _ParaMEDMEM
86     return _ParaMEDMEM.DataArrayInt32____isub___(self, self, *args)
87 def MEDCouplingDataArrayInt32Imul(self,*args):
88     import _ParaMEDMEM
89     return _ParaMEDMEM.DataArrayInt32____imul___(self, self, *args)
90 def MEDCouplingDataArrayInt32Idiv(self,*args):
91     import _ParaMEDMEM
92     return _ParaMEDMEM.DataArrayInt32____idiv___(self, self, *args)
93 def MEDCouplingDataArrayInt32Imod(self,*args):
94     import _ParaMEDMEM
95     return _ParaMEDMEM.DataArrayInt32____imod___(self, self, *args)
96 def MEDCouplingDataArrayInt32Ipow(self,*args):
97     import _ParaMEDMEM
98     return _ParaMEDMEM.DataArrayInt32____ipow___(self, self, *args)
99 def MEDCouplingDataArrayInt64Iadd(self,*args):
100     import _ParaMEDMEM
101     return _ParaMEDMEM.DataArrayInt64____iadd___(self, self, *args)
102 def MEDCouplingDataArrayInt64Isub(self,*args):
103     import _ParaMEDMEM
104     return _ParaMEDMEM.DataArrayInt64____isub___(self, self, *args)
105 def MEDCouplingDataArrayInt64Imul(self,*args):
106     import _ParaMEDMEM
107     return _ParaMEDMEM.DataArrayInt64____imul___(self, self, *args)
108 def MEDCouplingDataArrayInt64Idiv(self,*args):
109     import _ParaMEDMEM
110     return _ParaMEDMEM.DataArrayInt64____idiv___(self, self, *args)
111 def MEDCouplingDataArrayInt64Imod(self,*args):
112     import _ParaMEDMEM
113     return _ParaMEDMEM.DataArrayInt64____imod___(self, self, *args)
114 def MEDCouplingDataArrayInt64Ipow(self,*args):
115     import _ParaMEDMEM
116     return _ParaMEDMEM.DataArrayInt64____ipow___(self, self, *args)
117 def MEDCouplingDataArrayFloatIadd(self,*args):
118     import _ParaMEDMEM
119     return _ParaMEDMEM.DataArrayFloat____iadd___(self, self, *args)
120 def MEDCouplingDataArrayFloatIsub(self,*args):
121     import _ParaMEDMEM
122     return _ParaMEDMEM.DataArrayFloat____isub___(self, self, *args)
123 def MEDCouplingDataArrayFloatImul(self,*args):
124     import _ParaMEDMEM
125     return _ParaMEDMEM.DataArrayFloat____imul___(self, self, *args)
126 def MEDCouplingDataArrayFloatIdiv(self,*args):
127     import _ParaMEDMEM
128     return _ParaMEDMEM.DataArrayFloat____idiv___(self, self, *args)
129 def MEDCouplingDataArrayDoubleTupleIadd(self,*args):
130     import _ParaMEDMEM
131     return _ParaMEDMEM.DataArrayDoubleTuple____iadd___(self, self, *args)
132 def MEDCouplingDataArrayDoubleTupleIsub(self,*args):
133     import _ParaMEDMEM
134     return _ParaMEDMEM.DataArrayDoubleTuple____isub___(self, self, *args)
135 def MEDCouplingDataArrayDoubleTupleImul(self,*args):
136     import _ParaMEDMEM
137     return _ParaMEDMEM.DataArrayDoubleTuple____imul___(self, self, *args)
138 def MEDCouplingDataArrayDoubleTupleIdiv(self,*args):
139     import _ParaMEDMEM
140     return _ParaMEDMEM.DataArrayDoubleTuple____idiv___(self, self, *args)
141 def MEDCouplingDataArrayInt32TupleIadd(self,*args):
142     import _ParaMEDMEM
143     return _ParaMEDMEM.DataArrayInt32Tuple____iadd___(self, self, *args)
144 def MEDCouplingDataArrayInt32TupleIsub(self,*args):
145     import _ParaMEDMEM
146     return _ParaMEDMEM.DataArrayInt32Tuple____isub___(self, self, *args)
147 def MEDCouplingDataArrayInt32TupleImul(self,*args):
148     import _ParaMEDMEM
149     return _ParaMEDMEM.DataArrayInt32Tuple____imul___(self, self, *args)
150 def MEDCouplingDataArrayInt32TupleIdiv(self,*args):
151     import _ParaMEDMEM
152     return _ParaMEDMEM.DataArrayInt32Tuple____idiv___(self, self, *args)
153 def MEDCouplingDataArrayInt32TupleImod(self,*args):
154     import _ParaMEDMEM
155     return _ParaMEDMEM.DataArrayInt32Tuple____imod___(self, self, *args)
156 def MEDCouplingDataArrayInt64TupleIadd(self,*args):
157     import _ParaMEDMEM
158     return _ParaMEDMEM.DataArrayInt64Tuple____iadd___(self, self, *args)
159 def MEDCouplingDataArrayInt64TupleIsub(self,*args):
160     import _ParaMEDMEM
161     return _ParaMEDMEM.DataArrayInt64Tuple____isub___(self, self, *args)
162 def MEDCouplingDataArrayInt64TupleImul(self,*args):
163     import _ParaMEDMEM
164     return _ParaMEDMEM.DataArrayInt64Tuple____imul___(self, self, *args)
165 def MEDCouplingDataArrayInt64TupleIdiv(self,*args):
166     import _ParaMEDMEM
167     return _ParaMEDMEM.DataArrayInt64Tuple____idiv___(self, self, *args)
168 def MEDCouplingDataArrayInt64TupleImod(self,*args):
169     import _ParaMEDMEM
170     return _ParaMEDMEM.DataArrayInt64Tuple____imod___(self, self, *args)
171 def MEDCouplingDenseMatrixIadd(self,*args):
172     import _ParaMEDMEM
173     return _ParaMEDMEM.DenseMatrix____iadd___(self, self, *args)
174 def MEDCouplingDenseMatrixIsub(self,*args):
175     import _ParaMEDMEM
176     return _ParaMEDMEM.DenseMatrix____isub___(self, self, *args)
177 %}
178
179 %include "MEDCouplingFinalize.i"