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