1 // Copyright (C) 2007-2012 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.
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
19 // Author : Anthony Geay (CEA/DEN)
21 %module MEDCouplingCorba
24 #include "MEDCouplingFieldDoubleServant.hxx"
25 #include "MEDCouplingFieldTemplateServant.hxx"
26 #include "MEDCouplingMultiFieldsServant.hxx"
27 #include "MEDCouplingFieldOverTimeServant.hxx"
28 #include "MEDCouplingUMeshServant.hxx"
29 #include "MEDCouplingExtrudedMeshServant.hxx"
30 #include "MEDCouplingCMeshServant.hxx"
31 #include "DataArrayDoubleServant.hxx"
32 #include "DataArrayIntServant.hxx"
33 #include "MEDCouplingCorbaTypemaps.i"
35 using namespace ParaMEDMEM;
38 %include "MEDCouplingCommon.i"
42 class MEDCouplingFieldDoubleServant
47 static PyObject *_this(const MEDCouplingFieldDouble *cppPointerOfMesh)
49 return buildServantAndActivate<MEDCouplingFieldDoubleServant>(cppPointerOfMesh);
54 class MEDCouplingFieldTemplateServant
59 static PyObject *_this(const MEDCouplingFieldTemplate *cppPointerOfMesh)
61 return buildServantAndActivate<MEDCouplingFieldTemplateServant>(cppPointerOfMesh);
66 class MEDCouplingMultiFieldsServant
71 static PyObject *_this(const MEDCouplingMultiFields *cppPointerOfMesh)
73 return buildServantAndActivate<MEDCouplingMultiFieldsServant>(cppPointerOfMesh);
78 class MEDCouplingFieldOverTimeServant
83 static PyObject *_this(const MEDCouplingFieldOverTime *cppPointerOfMesh)
85 return buildServantAndActivate<MEDCouplingFieldOverTimeServant>(cppPointerOfMesh);
90 class MEDCouplingUMeshServant
95 static PyObject *_this(const MEDCouplingUMesh *cppPointerOfMesh)
97 return buildServantAndActivate<MEDCouplingUMeshServant>(cppPointerOfMesh);
102 class MEDCouplingExtrudedMeshServant
107 static PyObject *_this(const MEDCouplingExtrudedMesh *cppPointerOfMesh)
109 return buildServantAndActivate<MEDCouplingExtrudedMeshServant>(cppPointerOfMesh);
114 class MEDCouplingCMeshServant
119 static PyObject *_this(const MEDCouplingCMesh *cppPointerOfMesh)
121 return buildServantAndActivate<MEDCouplingCMeshServant>(cppPointerOfMesh);
126 class DataArrayDoubleServant
131 static PyObject *_this(const DataArrayDouble *cppPointerOfMesh)
133 return buildServantAndActivate<DataArrayDoubleServant>(cppPointerOfMesh);
138 class DataArrayIntServant
143 static PyObject *_this(const DataArrayInt *cppPointerOfMesh)
145 return buildServantAndActivate<DataArrayIntServant>(cppPointerOfMesh);
152 def ParaMEDMEMDataArrayDoubleIadd(self,*args):
153 import _MEDCouplingCorba
154 return _MEDCouplingCorba.DataArrayDouble____iadd___(self, self, *args)
155 def ParaMEDMEMDataArrayDoubleIsub(self,*args):
156 import _MEDCouplingCorba
157 return _MEDCouplingCorba.DataArrayDouble____isub___(self, self, *args)
158 def ParaMEDMEMDataArrayDoubleImul(self,*args):
159 import _MEDCouplingCorba
160 return _MEDCouplingCorba.DataArrayDouble____imul___(self, self, *args)
161 def ParaMEDMEMDataArrayDoubleIdiv(self,*args):
162 import _MEDCouplingCorba
163 return _MEDCouplingCorba.DataArrayDouble____idiv___(self, self, *args)
164 def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
165 import _MEDCouplingCorba
166 return _MEDCouplingCorba.MEDCouplingFieldDouble____iadd___(self, self, *args)
167 def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
168 import _MEDCouplingCorba
169 return _MEDCouplingCorba.MEDCouplingFieldDouble____isub___(self, self, *args)
170 def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
171 import _MEDCouplingCorba
172 return _MEDCouplingCorba.MEDCouplingFieldDouble____imul___(self, self, *args)
173 def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
174 import _MEDCouplingCorba
175 return _MEDCouplingCorba.MEDCouplingFieldDouble____idiv___(self, self, *args)
176 def ParaMEDMEMDataArrayIntIadd(self,*args):
177 import _MEDCouplingCorba
178 return _MEDCouplingCorba.DataArrayInt____iadd___(self, self, *args)
179 def ParaMEDMEMDataArrayIntIsub(self,*args):
180 import _MEDCouplingCorba
181 return _MEDCouplingCorba.DataArrayInt____isub___(self, self, *args)
182 def ParaMEDMEMDataArrayIntImul(self,*args):
183 import _MEDCouplingCorba
184 return _MEDCouplingCorba.DataArrayInt____imul___(self, self, *args)
185 def ParaMEDMEMDataArrayIntIdiv(self,*args):
186 import _MEDCouplingCorba
187 return _MEDCouplingCorba.DataArrayInt____idiv___(self, self, *args)
188 def ParaMEDMEMDataArrayIntImod(self,*args):
189 import _MEDCouplingCorba
190 return _MEDCouplingCorba.DataArrayInt____imod___(self, self, *args)
191 def ParaMEDMEMDataArrayDoubleTupleIadd(self,*args):
192 import _MEDCouplingCorba
193 return _MEDCouplingCorba.DataArrayDoubleTuple____iadd___(self, self, *args)
194 def ParaMEDMEMDataArrayDoubleTupleIsub(self,*args):
195 import _MEDCouplingCorba
196 return _MEDCouplingCorba.DataArrayDoubleTuple____isub___(self, self, *args)
197 def ParaMEDMEMDataArrayDoubleTupleImul(self,*args):
198 import _MEDCouplingCorba
199 return _MEDCouplingCorba.DataArrayDoubleTuple____imul___(self, self, *args)
200 def ParaMEDMEMDataArrayDoubleTupleIdiv(self,*args):
201 import _MEDCouplingCorba
202 return _MEDCouplingCorba.DataArrayDoubleTuple____idiv___(self, self, *args)
203 def ParaMEDMEMDataArrayIntTupleIadd(self,*args):
204 import _MEDCouplingCorba
205 return _MEDCouplingCorba.DataArrayIntTuple____iadd___(self, self, *args)
206 def ParaMEDMEMDataArrayIntTupleIsub(self,*args):
207 import _MEDCouplingCorba
208 return _MEDCouplingCorba.DataArrayIntTuple____isub___(self, self, *args)
209 def ParaMEDMEMDataArrayIntTupleImul(self,*args):
210 import _MEDCouplingCorba
211 return _MEDCouplingCorba.DataArrayIntTuple____imul___(self, self, *args)
212 def ParaMEDMEMDataArrayIntTupleIdiv(self,*args):
213 import _MEDCouplingCorba
214 return _MEDCouplingCorba.DataArrayIntTuple____idiv___(self, self, *args)
215 def ParaMEDMEMDataArrayIntTupleImod(self,*args):
216 import _MEDCouplingCorba
217 return _MEDCouplingCorba.DataArrayIntTuple____imod___(self, self, *args)
220 %include "MEDCouplingFinalize.i"