Salome HOME
4th step
[tools/medcoupling.git] / src / MEDPartitioner_Swig / MEDPartitioner.i
1 // Copyright (C) 2007-2015  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 %include "MEDPartitionerCommon.i"
21
22
23 // %pythoncode %{
24 // def MEDCouplingDataArrayDoublenew(cls,*args):
25 //     import _MEDPartitioner
26 //     return _MEDPartitioner.DataArrayDouble____new___(cls,args)
27 // def MEDCouplingDataArrayDoubleIadd(self,*args):
28 //     import _MEDPartitioner
29 //     return _MEDPartitioner.DataArrayDouble____iadd___(self, self, *args)
30 // def MEDCouplingDataArrayDoubleIsub(self,*args):
31 //     import _MEDPartitioner
32 //     return _MEDPartitioner.DataArrayDouble____isub___(self, self, *args)
33 // def MEDCouplingDataArrayDoubleImul(self,*args):
34 //     import _MEDPartitioner
35 //     return _MEDPartitioner.DataArrayDouble____imul___(self, self, *args)
36 // def MEDCouplingDataArrayDoubleIdiv(self,*args):
37 //     import _MEDPartitioner
38 //     return _MEDPartitioner.DataArrayDouble____idiv___(self, self, *args)
39 // def MEDCouplingDataArrayDoubleIpow(self,*args):
40 //     import _MEDPartitioner
41 //     return _MEDPartitioner.DataArrayDouble____ipow___(self, self, *args)
42 // def MEDCouplingDataArrayIntnew(cls,*args):
43 //     import _MEDPartitioner
44 //     return _MEDPartitioner.DataArrayInt____new___(cls,args)
45 // def MEDCouplingDataArrayIntIadd(self,*args):
46 //     import _MEDPartitioner
47 //     return _MEDPartitioner.DataArrayInt____iadd___(self, self, *args)
48 // def MEDCouplingDataArrayIntIsub(self,*args):
49 //     import _MEDPartitioner
50 //     return _MEDPartitioner.DataArrayInt____isub___(self, self, *args)
51 // def MEDCouplingDataArrayIntImul(self,*args):
52 //     import _MEDPartitioner
53 //     return _MEDPartitioner.DataArrayInt____imul___(self, self, *args)
54 // def MEDCouplingDataArrayIntIdiv(self,*args):
55 //     import _MEDPartitioner
56 //     return _MEDPartitioner.DataArrayInt____idiv___(self, self, *args)
57 // def MEDCouplingDataArrayIntImod(self,*args):
58 //     import _MEDPartitioner
59 //     return _MEDPartitioner.DataArrayInt____imod___(self, self, *args)
60 // def MEDCouplingDataArrayIntIpow(self,*args):
61 //     import _MEDPartitioner
62 //     return _MEDPartitioner.DataArrayInt____ipow___(self, self, *args)
63 // def MEDCouplingDataArrayDoubleTupleIadd(self,*args):
64 //     import _MEDPartitioner
65 //     return _MEDPartitioner.DataArrayDoubleTuple____iadd___(self, self, *args)
66 // def MEDCouplingDataArrayDoubleTupleIsub(self,*args):
67 //     import _MEDPartitioner
68 //     return _MEDPartitioner.DataArrayDoubleTuple____isub___(self, self, *args)
69 // def MEDCouplingDataArrayDoubleTupleImul(self,*args):
70 //     import _MEDPartitioner
71 //     return _MEDPartitioner.DataArrayDoubleTuple____imul___(self, self, *args)
72 // def MEDCouplingDataArrayDoubleTupleIdiv(self,*args):
73 //     import _MEDPartitioner
74 //     return _MEDPartitioner.DataArrayDoubleTuple____idiv___(self, self, *args)
75 // def MEDCouplingDataArrayIntTupleIadd(self,*args):
76 //     import _MEDPartitioner
77 //     return _MEDPartitioner.DataArrayIntTuple____iadd___(self, self, *args)
78 // def MEDCouplingDataArrayIntTupleIsub(self,*args):
79 //     import _MEDPartitioner
80 //     return _MEDPartitioner.DataArrayIntTuple____isub___(self, self, *args)
81 // def MEDCouplingDataArrayIntTupleImul(self,*args):
82 //     import _MEDPartitioner
83 //     return _MEDPartitioner.DataArrayIntTuple____imul___(self, self, *args)
84 // def MEDCouplingDataArrayIntTupleIdiv(self,*args):
85 //     import _MEDPartitioner
86 //     return _MEDPartitioner.DataArrayIntTuple____idiv___(self, self, *args)
87 // def MEDCouplingDataArrayIntTupleImod(self,*args):
88 //     import _MEDPartitioner
89 //     return _MEDPartitioner.DataArrayIntTuple____imod___(self, self, *args)
90 // %}
91
92
93 // %pythoncode %{
94 // DataArrayDouble.__new__=classmethod(MEDCouplingDataArrayDoublenew)
95 // DataArrayDouble.__iadd__=MEDCouplingDataArrayDoubleIadd
96 // DataArrayDouble.__isub__=MEDCouplingDataArrayDoubleIsub
97 // DataArrayDouble.__imul__=MEDCouplingDataArrayDoubleImul
98 // DataArrayDouble.__idiv__=MEDCouplingDataArrayDoubleIdiv
99 // DataArrayDouble.__ipow__=MEDCouplingDataArrayDoubleIpow
100
101 // DataArrayInt.__new__=classmethod(MEDCouplingDataArrayIntnew)
102 // DataArrayInt.__iadd__=MEDCouplingDataArrayIntIadd
103 // DataArrayInt.__isub__=MEDCouplingDataArrayIntIsub
104 // DataArrayInt.__imul__=MEDCouplingDataArrayIntImul
105 // DataArrayInt.__idiv__=MEDCouplingDataArrayIntIdiv
106 // DataArrayInt.__imod__=MEDCouplingDataArrayIntImod
107 // DataArrayInt.__ipow__=MEDCouplingDataArrayIntIpow
108
109 // DataArrayDoubleTuple.__iadd__=MEDCouplingDataArrayDoubleTupleIadd
110 // DataArrayDoubleTuple.__isub__=MEDCouplingDataArrayDoubleTupleIsub
111 // DataArrayDoubleTuple.__imul__=MEDCouplingDataArrayDoubleTupleImul
112 // DataArrayDoubleTuple.__idiv__=MEDCouplingDataArrayDoubleTupleIdiv
113
114 // DataArrayIntTuple.__iadd__=MEDCouplingDataArrayIntTupleIadd
115 // DataArrayIntTuple.__isub__=MEDCouplingDataArrayIntTupleIsub
116 // DataArrayIntTuple.__imul__=MEDCouplingDataArrayIntTupleImul
117 // DataArrayIntTuple.__idiv__=MEDCouplingDataArrayIntTupleIdiv
118 // DataArrayIntTuple.__imod__=MEDCouplingDataArrayIntTupleImod
119
120 // del MEDCouplingDataArrayDoublenew
121 // del MEDCouplingDataArrayDoubleIadd
122 // del MEDCouplingDataArrayDoubleIsub
123 // del MEDCouplingDataArrayDoubleImul
124 // del MEDCouplingDataArrayDoubleIdiv
125 // del MEDCouplingDataArrayIntnew
126 // del MEDCouplingDataArrayIntIadd
127 // del MEDCouplingDataArrayIntIsub
128 // del MEDCouplingDataArrayIntImul
129 // del MEDCouplingDataArrayIntIdiv
130 // del MEDCouplingDataArrayIntImod
131 // del MEDCouplingDataArrayDoubleTupleIadd
132 // del MEDCouplingDataArrayDoubleTupleIsub
133 // del MEDCouplingDataArrayDoubleTupleImul
134 // del MEDCouplingDataArrayDoubleTupleIdiv
135 // del MEDCouplingDataArrayIntTupleIadd
136 // del MEDCouplingDataArrayIntTupleIsub
137 // del MEDCouplingDataArrayIntTupleImul
138 // del MEDCouplingDataArrayIntTupleIdiv
139 // del MEDCouplingDataArrayIntTupleImod
140 // %}