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 "MEDCouplingCurveLinearMeshServant.hxx"
32 #include "DataArrayDoubleServant.hxx"
33 #include "DataArrayIntServant.hxx"
34 #include "MEDCouplingCorbaTypemaps.i"
36 using namespace ParaMEDMEM;
39 %include "MEDCouplingCommon.i"
43 class MEDCouplingFieldDoubleServant
48 static PyObject *_this(const MEDCouplingFieldDouble *cppPointerOfMesh)
50 return buildServantAndActivate<MEDCouplingFieldDoubleServant>(cppPointerOfMesh);
55 class MEDCouplingFieldTemplateServant
60 static PyObject *_this(const MEDCouplingFieldTemplate *cppPointerOfMesh)
62 return buildServantAndActivate<MEDCouplingFieldTemplateServant>(cppPointerOfMesh);
67 class MEDCouplingMultiFieldsServant
72 static PyObject *_this(const MEDCouplingMultiFields *cppPointerOfMesh)
74 return buildServantAndActivate<MEDCouplingMultiFieldsServant>(cppPointerOfMesh);
79 class MEDCouplingFieldOverTimeServant
84 static PyObject *_this(const MEDCouplingFieldOverTime *cppPointerOfMesh)
86 return buildServantAndActivate<MEDCouplingFieldOverTimeServant>(cppPointerOfMesh);
91 class MEDCouplingUMeshServant
96 static PyObject *_this(const MEDCouplingUMesh *cppPointerOfMesh)
98 return buildServantAndActivate<MEDCouplingUMeshServant>(cppPointerOfMesh);
103 class MEDCouplingExtrudedMeshServant
108 static PyObject *_this(const MEDCouplingExtrudedMesh *cppPointerOfMesh)
110 return buildServantAndActivate<MEDCouplingExtrudedMeshServant>(cppPointerOfMesh);
115 class MEDCouplingCMeshServant
120 static PyObject *_this(const MEDCouplingCMesh *cppPointerOfMesh)
122 return buildServantAndActivate<MEDCouplingCMeshServant>(cppPointerOfMesh);
127 class MEDCouplingCurveLinearMeshServant
132 static PyObject *_this(const MEDCouplingCurveLinearMesh *cppPointerOfMesh)
134 return buildServantAndActivate<MEDCouplingCurveLinearMeshServant>(cppPointerOfMesh);
139 class DataArrayDoubleServant
144 static PyObject *_this(const DataArrayDouble *cppPointerOfMesh)
146 return buildServantAndActivate<DataArrayDoubleServant>(cppPointerOfMesh);
151 class DataArrayIntServant
156 static PyObject *_this(const DataArrayInt *cppPointerOfMesh)
158 return buildServantAndActivate<DataArrayIntServant>(cppPointerOfMesh);
165 def ParaMEDMEMDataArrayDoubleIadd(self,*args):
166 import _MEDCouplingCorba
167 return _MEDCouplingCorba.DataArrayDouble____iadd___(self, self, *args)
168 def ParaMEDMEMDataArrayDoubleIsub(self,*args):
169 import _MEDCouplingCorba
170 return _MEDCouplingCorba.DataArrayDouble____isub___(self, self, *args)
171 def ParaMEDMEMDataArrayDoubleImul(self,*args):
172 import _MEDCouplingCorba
173 return _MEDCouplingCorba.DataArrayDouble____imul___(self, self, *args)
174 def ParaMEDMEMDataArrayDoubleIdiv(self,*args):
175 import _MEDCouplingCorba
176 return _MEDCouplingCorba.DataArrayDouble____idiv___(self, self, *args)
177 def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
178 import _MEDCouplingCorba
179 return _MEDCouplingCorba.MEDCouplingFieldDouble____iadd___(self, self, *args)
180 def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
181 import _MEDCouplingCorba
182 return _MEDCouplingCorba.MEDCouplingFieldDouble____isub___(self, self, *args)
183 def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
184 import _MEDCouplingCorba
185 return _MEDCouplingCorba.MEDCouplingFieldDouble____imul___(self, self, *args)
186 def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
187 import _MEDCouplingCorba
188 return _MEDCouplingCorba.MEDCouplingFieldDouble____idiv___(self, self, *args)
189 def ParaMEDMEMDataArrayIntIadd(self,*args):
190 import _MEDCouplingCorba
191 return _MEDCouplingCorba.DataArrayInt____iadd___(self, self, *args)
192 def ParaMEDMEMDataArrayIntIsub(self,*args):
193 import _MEDCouplingCorba
194 return _MEDCouplingCorba.DataArrayInt____isub___(self, self, *args)
195 def ParaMEDMEMDataArrayIntImul(self,*args):
196 import _MEDCouplingCorba
197 return _MEDCouplingCorba.DataArrayInt____imul___(self, self, *args)
198 def ParaMEDMEMDataArrayIntIdiv(self,*args):
199 import _MEDCouplingCorba
200 return _MEDCouplingCorba.DataArrayInt____idiv___(self, self, *args)
201 def ParaMEDMEMDataArrayIntImod(self,*args):
202 import _MEDCouplingCorba
203 return _MEDCouplingCorba.DataArrayInt____imod___(self, self, *args)
204 def ParaMEDMEMDataArrayDoubleTupleIadd(self,*args):
205 import _MEDCouplingCorba
206 return _MEDCouplingCorba.DataArrayDoubleTuple____iadd___(self, self, *args)
207 def ParaMEDMEMDataArrayDoubleTupleIsub(self,*args):
208 import _MEDCouplingCorba
209 return _MEDCouplingCorba.DataArrayDoubleTuple____isub___(self, self, *args)
210 def ParaMEDMEMDataArrayDoubleTupleImul(self,*args):
211 import _MEDCouplingCorba
212 return _MEDCouplingCorba.DataArrayDoubleTuple____imul___(self, self, *args)
213 def ParaMEDMEMDataArrayDoubleTupleIdiv(self,*args):
214 import _MEDCouplingCorba
215 return _MEDCouplingCorba.DataArrayDoubleTuple____idiv___(self, self, *args)
216 def ParaMEDMEMDataArrayIntTupleIadd(self,*args):
217 import _MEDCouplingCorba
218 return _MEDCouplingCorba.DataArrayIntTuple____iadd___(self, self, *args)
219 def ParaMEDMEMDataArrayIntTupleIsub(self,*args):
220 import _MEDCouplingCorba
221 return _MEDCouplingCorba.DataArrayIntTuple____isub___(self, self, *args)
222 def ParaMEDMEMDataArrayIntTupleImul(self,*args):
223 import _MEDCouplingCorba
224 return _MEDCouplingCorba.DataArrayIntTuple____imul___(self, self, *args)
225 def ParaMEDMEMDataArrayIntTupleIdiv(self,*args):
226 import _MEDCouplingCorba
227 return _MEDCouplingCorba.DataArrayIntTuple____idiv___(self, self, *args)
228 def ParaMEDMEMDataArrayIntTupleImod(self,*args):
229 import _MEDCouplingCorba
230 return _MEDCouplingCorba.DataArrayIntTuple____imod___(self, self, *args)
233 %include "MEDCouplingFinalize.i"