1 // Copyright (C) 2007-2019 CEA/DEN, EDF R&D
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 %module MEDCouplingCompat
26 %include "MEDCouplingCommon.i"
29 def MEDCouplingDataArrayDoubleIadd(self,*args):
31 return _MEDCoupling.DataArrayDouble____iadd___(self, self, *args)
32 def MEDCouplingDataArrayDoubleIsub(self,*args):
34 return _MEDCoupling.DataArrayDouble____isub___(self, self, *args)
35 def MEDCouplingDataArrayDoubleImul(self,*args):
37 return _MEDCoupling.DataArrayDouble____imul___(self, self, *args)
38 def MEDCouplingDataArrayDoubleIdiv(self,*args):
40 return _MEDCoupling.DataArrayDouble____idiv___(self, self, *args)
41 def MEDCouplingDataArrayDoubleIpow(self,*args):
43 return _MEDCoupling.DataArrayDouble____ipow___(self, self, *args)
44 def MEDCouplingFieldDoubleIadd(self,*args):
46 return _MEDCoupling.MEDCouplingFieldDouble____iadd___(self, self, *args)
47 def MEDCouplingFieldDoubleIsub(self,*args):
49 return _MEDCoupling.MEDCouplingFieldDouble____isub___(self, self, *args)
50 def MEDCouplingFieldDoubleImul(self,*args):
52 return _MEDCoupling.MEDCouplingFieldDouble____imul___(self, self, *args)
53 def MEDCouplingFieldDoubleIdiv(self,*args):
55 return _MEDCoupling.MEDCouplingFieldDouble____idiv___(self, self, *args)
56 def MEDCouplingFieldDoubleIpow(self,*args):
58 return _MEDCoupling.MEDCouplingFieldDouble____ipow___(self, self, *args)
59 def MEDCouplingDataArrayIntIadd(self,*args):
61 return _MEDCoupling.DataArrayInt____iadd___(self, self, *args)
62 def MEDCouplingDataArrayIntIsub(self,*args):
64 return _MEDCoupling.DataArrayInt____isub___(self, self, *args)
65 def MEDCouplingDataArrayIntImul(self,*args):
67 return _MEDCoupling.DataArrayInt____imul___(self, self, *args)
68 def MEDCouplingDataArrayIntIdiv(self,*args):
70 return _MEDCoupling.DataArrayInt____idiv___(self, self, *args)
71 def MEDCouplingDataArrayIntImod(self,*args):
73 return _MEDCoupling.DataArrayInt____imod___(self, self, *args)
74 def MEDCouplingDataArrayIntIpow(self,*args):
76 return _MEDCoupling.DataArrayInt____ipow___(self, self, *args)
77 def MEDCouplingDataArrayFloatIadd(self,*args):
79 return _MEDCoupling.DataArrayFloat____iadd___(self, self, *args)
80 def MEDCouplingDataArrayFloatIsub(self,*args):
82 return _MEDCoupling.DataArrayFloat____isub___(self, self, *args)
83 def MEDCouplingDataArrayFloatImul(self,*args):
85 return _MEDCoupling.DataArrayFloat____imul___(self, self, *args)
86 def MEDCouplingDataArrayFloatIdiv(self,*args):
88 return _MEDCoupling.DataArrayFloat____idiv___(self, self, *args)
89 def MEDCouplingDataArrayDoubleTupleIadd(self,*args):
91 return _MEDCoupling.DataArrayDoubleTuple____iadd___(self, self, *args)
92 def MEDCouplingDataArrayDoubleTupleIsub(self,*args):
94 return _MEDCoupling.DataArrayDoubleTuple____isub___(self, self, *args)
95 def MEDCouplingDataArrayDoubleTupleImul(self,*args):
97 return _MEDCoupling.DataArrayDoubleTuple____imul___(self, self, *args)
98 def MEDCouplingDataArrayDoubleTupleIdiv(self,*args):
100 return _MEDCoupling.DataArrayDoubleTuple____idiv___(self, self, *args)
101 def MEDCouplingDataArrayIntTupleIadd(self,*args):
103 return _MEDCoupling.DataArrayIntTuple____iadd___(self, self, *args)
104 def MEDCouplingDataArrayIntTupleIsub(self,*args):
106 return _MEDCoupling.DataArrayIntTuple____isub___(self, self, *args)
107 def MEDCouplingDataArrayIntTupleImul(self,*args):
109 return _MEDCoupling.DataArrayIntTuple____imul___(self, self, *args)
110 def MEDCouplingDataArrayIntTupleIdiv(self,*args):
112 return _MEDCoupling.DataArrayIntTuple____idiv___(self, self, *args)
113 def MEDCouplingDataArrayIntTupleImod(self,*args):
115 return _MEDCoupling.DataArrayIntTuple____imod___(self, self, *args)
116 def MEDCouplingDenseMatrixIadd(self,*args):
118 return _MEDCoupling.DenseMatrix____iadd___(self, self, *args)
119 def MEDCouplingDenseMatrixIsub(self,*args):
121 return _MEDCoupling.DenseMatrix____isub___(self, self, *args)
124 %include "MEDCouplingFinalize.i"
127 print("""**************************************************************************************************
128 "MEDCoupling" python module as been replaced by "medcoupling" for Salome9.
130 "MEDCoupling" python module is still here for backwards compatibility reason but it is deprecated.
132 Please replace "MEDCoupling" by "medcoupling" in you import line right now to remove this message.
133 **************************************************************************************************""")