Salome HOME
6d84db1f65caf34877f27f04f9b52cadc6415b8a
[tools/medcoupling.git] / src / MEDCoupling_Swig / MEDCouplingFinalize.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 %pythoncode %{
21 InterpKernelException.__reduce__=INTERPKERNELExceptionReduce
22 DataArrayDouble.__new__=classmethod(MEDCouplingDataArrayDoublenew)
23 DataArrayDouble.__iadd__=MEDCouplingDataArrayDoubleIadd
24 DataArrayDouble.__isub__=MEDCouplingDataArrayDoubleIsub
25 DataArrayDouble.__imul__=MEDCouplingDataArrayDoubleImul
26 DataArrayDouble.__idiv__=MEDCouplingDataArrayDoubleIdiv
27 DataArrayDouble.__ipow__=MEDCouplingDataArrayDoubleIpow
28
29 DataArrayInt.__new__=classmethod(MEDCouplingDataArrayIntnew)
30 DataArrayInt.__iadd__=MEDCouplingDataArrayIntIadd
31 DataArrayInt.__isub__=MEDCouplingDataArrayIntIsub
32 DataArrayInt.__imul__=MEDCouplingDataArrayIntImul
33 DataArrayInt.__idiv__=MEDCouplingDataArrayIntIdiv
34 DataArrayInt.__imod__=MEDCouplingDataArrayIntImod
35 DataArrayInt.__ipow__=MEDCouplingDataArrayIntIpow
36
37 DataArrayByte.__new__=classmethod(MEDCouplingDataArrayBytenew)
38
39 DataArrayFloat.__new__=classmethod(MEDCouplingDataArrayFloatnew)
40 DataArrayFloat.__iadd__=MEDCouplingDataArrayFloatIadd
41 DataArrayFloat.__isub__=MEDCouplingDataArrayFloatIsub
42 DataArrayFloat.__imul__=MEDCouplingDataArrayFloatImul
43 DataArrayFloat.__idiv__=MEDCouplingDataArrayFloatIdiv
44
45 MEDCouplingFieldDouble.__new__=classmethod(MEDCouplingFieldDoublenew)
46 MEDCouplingFieldDouble.__iadd__=MEDCouplingFieldDoubleIadd
47 MEDCouplingFieldDouble.__isub__=MEDCouplingFieldDoubleIsub
48 MEDCouplingFieldDouble.__imul__=MEDCouplingFieldDoubleImul
49 MEDCouplingFieldDouble.__idiv__=MEDCouplingFieldDoubleIdiv
50 MEDCouplingFieldDouble.__ipow__=MEDCouplingFieldDoubleIpow
51
52 MEDCouplingFieldInt.__new__=classmethod(MEDCouplingFieldIntnew)
53   
54 MEDCouplingFieldFloat.__new__=classmethod(MEDCouplingFieldFloatnew)
55
56 DataArrayDoubleTuple.__iadd__=MEDCouplingDataArrayDoubleTupleIadd
57 DataArrayDoubleTuple.__isub__=MEDCouplingDataArrayDoubleTupleIsub
58 DataArrayDoubleTuple.__imul__=MEDCouplingDataArrayDoubleTupleImul
59 DataArrayDoubleTuple.__idiv__=MEDCouplingDataArrayDoubleTupleIdiv
60
61 DataArrayIntTuple.__iadd__=MEDCouplingDataArrayIntTupleIadd
62 DataArrayIntTuple.__isub__=MEDCouplingDataArrayIntTupleIsub
63 DataArrayIntTuple.__imul__=MEDCouplingDataArrayIntTupleImul
64 DataArrayIntTuple.__idiv__=MEDCouplingDataArrayIntTupleIdiv
65 DataArrayIntTuple.__imod__=MEDCouplingDataArrayIntTupleImod
66
67 DenseMatrix.__iadd__=ParaMEDMEMDenseMatrixIadd
68 DenseMatrix.__isub__=ParaMEDMEMDenseMatrixIsub
69
70 MEDCouplingUMesh.__new__=classmethod(MEDCouplingUMeshnew)
71 MEDCoupling1DGTUMesh.__new__=classmethod(MEDCoupling1DGTUMeshnew)
72 MEDCoupling1SGTUMesh.__new__=classmethod(MEDCoupling1SGTUMeshnew)
73 MEDCouplingCurveLinearMesh.__new__=classmethod(MEDCouplingCurveLinearMeshnew)
74 MEDCouplingCMesh.__new__=classmethod(MEDCouplingCMeshnew)
75 MEDCouplingIMesh.__new__=classmethod(MEDCouplingIMeshnew)
76 MEDCouplingMappedExtrudedMesh.__new__=classmethod(MEDCouplingExtrudedMeshnew)
77
78 del INTERPKERNELExceptionReduce
79 del MEDCouplingDataArrayDoublenew
80 del MEDCouplingDataArrayDoubleIadd
81 del MEDCouplingDataArrayDoubleIsub
82 del MEDCouplingDataArrayDoubleImul
83 del MEDCouplingDataArrayDoubleIdiv
84 del MEDCouplingFieldDoubleIadd
85 del MEDCouplingFieldDoubleIsub
86 del MEDCouplingFieldDoubleImul
87 del MEDCouplingFieldDoubleIdiv
88 del MEDCouplingFieldDoubleIpow
89 del MEDCouplingDataArrayIntnew
90 del MEDCouplingDataArrayIntIadd
91 del MEDCouplingDataArrayIntIsub
92 del MEDCouplingDataArrayIntImul
93 del MEDCouplingDataArrayIntIdiv
94 del MEDCouplingDataArrayIntImod
95 del MEDCouplingDataArrayBytenew
96 del MEDCouplingDataArrayFloatnew
97 del MEDCouplingDataArrayFloatIadd
98 del MEDCouplingDataArrayFloatIsub
99 del MEDCouplingDataArrayFloatImul
100 del MEDCouplingDataArrayFloatIdiv
101 del MEDCouplingDataArrayDoubleTupleIadd
102 del MEDCouplingDataArrayDoubleTupleIsub
103 del MEDCouplingDataArrayDoubleTupleImul
104 del MEDCouplingDataArrayDoubleTupleIdiv
105 del MEDCouplingDataArrayIntTupleIadd
106 del MEDCouplingDataArrayIntTupleIsub
107 del MEDCouplingDataArrayIntTupleImul
108 del MEDCouplingDataArrayIntTupleIdiv
109 del MEDCouplingDataArrayIntTupleImod
110 del ParaMEDMEMDenseMatrixIadd
111 del ParaMEDMEMDenseMatrixIsub
112 del MEDCouplingUMeshnew
113 del MEDCoupling1DGTUMeshnew
114 del MEDCoupling1SGTUMeshnew
115 del MEDCouplingCurveLinearMeshnew
116 del MEDCouplingCMeshnew
117 del MEDCouplingIMeshnew
118 del MEDCouplingExtrudedMeshnew
119 del MEDCouplingFieldDoublenew
120 %}