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