Salome HOME
Improve swig generation process on Windows platform.
[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 MEDCouplingFieldDouble.__iadd__=MEDCouplingFieldDoubleIadd
40 MEDCouplingFieldDouble.__isub__=MEDCouplingFieldDoubleIsub
41 MEDCouplingFieldDouble.__imul__=MEDCouplingFieldDoubleImul
42 MEDCouplingFieldDouble.__idiv__=MEDCouplingFieldDoubleIdiv
43 MEDCouplingFieldDouble.__ipow__=MEDCouplingFieldDoubleIpow
44
45 DataArrayDoubleTuple.__iadd__=MEDCouplingDataArrayDoubleTupleIadd
46 DataArrayDoubleTuple.__isub__=MEDCouplingDataArrayDoubleTupleIsub
47 DataArrayDoubleTuple.__imul__=MEDCouplingDataArrayDoubleTupleImul
48 DataArrayDoubleTuple.__idiv__=MEDCouplingDataArrayDoubleTupleIdiv
49
50 DataArrayIntTuple.__iadd__=MEDCouplingDataArrayIntTupleIadd
51 DataArrayIntTuple.__isub__=MEDCouplingDataArrayIntTupleIsub
52 DataArrayIntTuple.__imul__=MEDCouplingDataArrayIntTupleImul
53 DataArrayIntTuple.__idiv__=MEDCouplingDataArrayIntTupleIdiv
54 DataArrayIntTuple.__imod__=MEDCouplingDataArrayIntTupleImod
55
56 DenseMatrix.__iadd__=ParaMEDMEMDenseMatrixIadd
57 DenseMatrix.__isub__=ParaMEDMEMDenseMatrixIsub
58
59 MEDCouplingUMesh.__new__=classmethod(MEDCouplingUMeshnew)
60 MEDCoupling1DGTUMesh.__new__=classmethod(MEDCoupling1DGTUMeshnew)
61 MEDCoupling1SGTUMesh.__new__=classmethod(MEDCoupling1SGTUMeshnew)
62 MEDCouplingCurveLinearMesh.__new__=classmethod(MEDCouplingCurveLinearMeshnew)
63 MEDCouplingCMesh.__new__=classmethod(MEDCouplingCMeshnew)
64 MEDCouplingIMesh.__new__=classmethod(MEDCouplingIMeshnew)
65 MEDCouplingMappedExtrudedMesh.__new__=classmethod(MEDCouplingExtrudedMeshnew)
66 MEDCouplingFieldDouble.__new__=classmethod(MEDCouplingFieldDoublenew)
67
68 del INTERPKERNELExceptionReduce
69 del MEDCouplingDataArrayDoublenew
70 del MEDCouplingDataArrayDoubleIadd
71 del MEDCouplingDataArrayDoubleIsub
72 del MEDCouplingDataArrayDoubleImul
73 del MEDCouplingDataArrayDoubleIdiv
74 del MEDCouplingFieldDoubleIadd
75 del MEDCouplingFieldDoubleIsub
76 del MEDCouplingFieldDoubleImul
77 del MEDCouplingFieldDoubleIdiv
78 del MEDCouplingFieldDoubleIpow
79 del MEDCouplingDataArrayIntnew
80 del MEDCouplingDataArrayIntIadd
81 del MEDCouplingDataArrayIntIsub
82 del MEDCouplingDataArrayIntImul
83 del MEDCouplingDataArrayIntIdiv
84 del MEDCouplingDataArrayIntImod
85 del MEDCouplingDataArrayBytenew
86 del MEDCouplingDataArrayDoubleTupleIadd
87 del MEDCouplingDataArrayDoubleTupleIsub
88 del MEDCouplingDataArrayDoubleTupleImul
89 del MEDCouplingDataArrayDoubleTupleIdiv
90 del MEDCouplingDataArrayIntTupleIadd
91 del MEDCouplingDataArrayIntTupleIsub
92 del MEDCouplingDataArrayIntTupleImul
93 del MEDCouplingDataArrayIntTupleIdiv
94 del MEDCouplingDataArrayIntTupleImod
95 del ParaMEDMEMDenseMatrixIadd
96 del ParaMEDMEMDenseMatrixIsub
97 del MEDCouplingUMeshnew
98 del MEDCoupling1DGTUMeshnew
99 del MEDCoupling1SGTUMeshnew
100 del MEDCouplingCurveLinearMeshnew
101 del MEDCouplingCMeshnew
102 del MEDCouplingIMeshnew
103 del MEDCouplingExtrudedMeshnew
104 del MEDCouplingFieldDoublenew
105 %}