1 // Copyright (C) 2007-2013 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 MEDCouplingClient
24 #include "MEDCouplingFieldDoubleClient.hxx"
25 #include "MEDCouplingFieldTemplateClient.hxx"
26 #include "MEDCouplingMultiFieldsClient.hxx"
27 #include "MEDCouplingFieldOverTimeClient.hxx"
28 #include "MEDCouplingUMeshClient.hxx"
29 #include "MEDCoupling1SGTUMeshClient.hxx"
30 #include "MEDCoupling1DGTUMeshClient.hxx"
31 #include "MEDCouplingExtrudedMeshClient.hxx"
32 #include "MEDCouplingCMeshClient.hxx"
33 #include "MEDCouplingCurveLinearMeshClient.hxx"
34 #include "DataArrayDoubleClient.hxx"
35 #include "DataArrayIntClient.hxx"
39 using namespace ParaMEDMEM;
42 %include "MEDCouplingCommon.i"
44 %newobject ParaMEDMEM::MEDCouplingFieldDoubleClient::New;
45 %newobject ParaMEDMEM::MEDCouplingFieldTemplateClient::New;
46 %newobject ParaMEDMEM::MEDCouplingUMeshClient::New;
47 %newobject ParaMEDMEM::MEDCoupling1SGTUMeshClient::New;
48 %newobject ParaMEDMEM::MEDCoupling1DGTUMeshClient::New;
49 %newobject ParaMEDMEM::MEDCouplingExtrudedMeshClient::New;
50 %newobject ParaMEDMEM::MEDCouplingCMeshClient::New;
51 %newobject ParaMEDMEM::MEDCouplingCurveLinearMeshClient::New;
52 %newobject ParaMEDMEM::MEDCouplingMultiFieldsClient::New;
53 %newobject ParaMEDMEM::MEDCouplingFieldOverTimeClient::New;
54 %newobject ParaMEDMEM::DataArrayDoubleClient::New;
55 %newobject ParaMEDMEM::DataArrayIntClient::New;
62 class MEDCouplingFieldDoubleClient
67 static MEDCouplingFieldDouble *New(PyObject *fieldPtr) throw(INTERP_KERNEL::Exception)
69 PyObject* pdict=PyDict_New();
70 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
71 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
72 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
73 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
74 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
75 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
76 PyObject *iorField=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",fieldPtr);
78 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingFieldDoubleClient.New appears to differ from CORBA reference ! Expecting a FieldDouble CORBA reference !");
79 char *ior=PyString_AsString(iorField);
81 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
82 CORBA::Object_var fieldPtrCpp=orb->string_to_object(ior);
83 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_var fieldPtrCppC=SALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_narrow(fieldPtrCpp);
84 if(CORBA::is_nil(fieldPtrCppC))
85 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingFieldDoubleCorbaInterface_ptr !");
88 MEDCouplingFieldDouble *ret=MEDCouplingFieldDoubleClient::New(fieldPtrCppC);
94 class MEDCouplingFieldTemplateClient
99 static MEDCouplingFieldTemplate *New(PyObject *fieldPtr) throw(INTERP_KERNEL::Exception)
101 PyObject* pdict=PyDict_New();
102 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
103 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
104 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
105 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
106 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
107 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
108 PyObject *iorField=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",fieldPtr);
110 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingFieldTemplateClient.New appears to differ from CORBA reference ! Expecting a FieldTemplate CORBA reference !");
111 char *ior=PyString_AsString(iorField);
113 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
114 CORBA::Object_var fieldPtrCpp=orb->string_to_object(ior);
115 SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_var fieldPtrCppC=SALOME_MED::MEDCouplingFieldTemplateCorbaInterface::_narrow(fieldPtrCpp);
116 if(CORBA::is_nil(fieldPtrCppC))
117 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingFieldTemplateCorbaInterface_ptr !");
120 MEDCouplingFieldTemplate *ret=MEDCouplingFieldTemplateClient::New(fieldPtrCppC);
126 class MEDCouplingMultiFieldsClient
131 static MEDCouplingMultiFields *New(PyObject *fieldPtr) throw(INTERP_KERNEL::Exception)
133 PyObject* pdict=PyDict_New();
134 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
135 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
136 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
137 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
138 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
139 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
140 PyObject *iorField=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",fieldPtr);
142 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingFieldTemplateClient.New appears to differ from CORBA reference ! Expecting a MultiFields CORBA reference !");
143 char *ior=PyString_AsString(iorField);
145 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
146 CORBA::Object_var fieldPtrCpp=orb->string_to_object(ior);
147 SALOME_MED::MEDCouplingMultiFieldsCorbaInterface_var fieldPtrCppC=SALOME_MED::MEDCouplingMultiFieldsCorbaInterface::_narrow(fieldPtrCpp);
148 if(CORBA::is_nil(fieldPtrCppC))
149 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingMultiFieldsCorbaInterface_ptr !");
152 MEDCouplingMultiFields *ret=MEDCouplingMultiFieldsClient::New(fieldPtrCppC);
158 class MEDCouplingFieldOverTimeClient : public MEDCouplingFieldOverTime
161 std::vector<double> getTimeSteps() const;
164 static MEDCouplingFieldOverTimeClient *New(PyObject *fieldPtr) throw(INTERP_KERNEL::Exception)
166 PyObject* pdict=PyDict_New();
167 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
168 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
169 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
170 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
171 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
172 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
173 PyObject *iorField=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",fieldPtr);
175 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingFieldOverTimeClient.New appears to differ from CORBA reference ! Expecting a FieldOverTime CORBA reference !");
176 char *ior=PyString_AsString(iorField);
178 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
179 CORBA::Object_var fieldPtrCpp=orb->string_to_object(ior);
180 SALOME_MED::MEDCouplingFieldOverTimeCorbaInterface_var fieldPtrCppC=SALOME_MED::MEDCouplingFieldOverTimeCorbaInterface::_narrow(fieldPtrCpp);
181 if(CORBA::is_nil(fieldPtrCppC))
182 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingFieldOverTimeCorbaInterface_ptr !");
185 MEDCouplingFieldOverTimeClient *ret=MEDCouplingFieldOverTimeClient::New(fieldPtrCppC);
191 class MEDCouplingUMeshClient
196 static MEDCouplingUMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
198 PyObject* pdict=PyDict_New();
199 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
200 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
201 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
202 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
203 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
204 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
205 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
207 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingUMeshClient.New appears to differ from CORBA reference ! Expecting a UMeshCorbaInterface CORBA reference !");
208 char *ior=PyString_AsString(iorMesh);
210 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
211 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
212 SALOME_MED::MEDCouplingUMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCouplingUMeshCorbaInterface::_narrow(meshPtrCpp);
213 if(CORBA::is_nil(meshPtrCppC))
214 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingUMeshInterface_ptr !");
217 MEDCouplingUMesh *ret=MEDCouplingUMeshClient::New(meshPtrCppC);
223 class MEDCoupling1SGTUMeshClient
228 static MEDCoupling1SGTUMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
230 PyObject* pdict=PyDict_New();
231 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
232 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
233 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
234 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
235 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
236 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
237 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
239 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCoupling1SGTUMeshClient.New appears to differ from CORBA reference ! Expecting a 1SGTUMeshCorbaInterface CORBA reference !");
240 char *ior=PyString_AsString(iorMesh);
242 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
243 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
244 SALOME_MED::MEDCoupling1SGTUMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCoupling1SGTUMeshCorbaInterface::_narrow(meshPtrCpp);
245 if(CORBA::is_nil(meshPtrCppC))
246 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCoupling1SGTUMeshInterface_ptr !");
249 MEDCoupling1SGTUMesh *ret=MEDCoupling1SGTUMeshClient::New(meshPtrCppC);
255 class MEDCoupling1DGTUMeshClient
260 static MEDCoupling1DGTUMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
262 PyObject* pdict=PyDict_New();
263 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
264 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
265 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
266 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
267 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
268 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
269 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
271 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCoupling1DGTUMeshClient.New appears to differ from CORBA reference ! Expecting a 1DGTUMeshCorbaInterface CORBA reference !");
272 char *ior=PyString_AsString(iorMesh);
274 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
275 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
276 SALOME_MED::MEDCoupling1DGTUMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCoupling1DGTUMeshCorbaInterface::_narrow(meshPtrCpp);
277 if(CORBA::is_nil(meshPtrCppC))
278 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCoupling1DGTUMeshInterface_ptr !");
281 MEDCoupling1DGTUMesh *ret=MEDCoupling1DGTUMeshClient::New(meshPtrCppC);
287 class MEDCouplingExtrudedMeshClient
292 static MEDCouplingExtrudedMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
294 PyObject* pdict=PyDict_New();
295 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
296 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
297 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
298 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
299 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
300 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
301 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
303 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingExtrudedMeshClient.New appears to differ from CORBA reference ! Expecting an ExtrudedMeshCorbaInterface CORBA reference !");
304 char *ior=PyString_AsString(iorMesh);
306 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
307 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
308 SALOME_MED::MEDCouplingExtrudedMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCouplingExtrudedMeshCorbaInterface::_narrow(meshPtrCpp);
309 if(CORBA::is_nil(meshPtrCppC))
310 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingExtrudedMeshInterface_ptr !");
313 MEDCouplingExtrudedMesh *ret=MEDCouplingExtrudedMeshClient::New(meshPtrCppC);
319 class MEDCouplingCMeshClient
324 static MEDCouplingCMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
326 PyObject* pdict=PyDict_New();
327 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
328 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
329 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
330 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
331 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
332 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
333 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
335 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingCMeshClient.New appears to differ from CORBA reference ! Expecting a CMeshCorbaInterface CORBA reference !");
336 char *ior=PyString_AsString(iorMesh);
338 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
339 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
340 SALOME_MED::MEDCouplingCMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCouplingCMeshCorbaInterface::_narrow(meshPtrCpp);
341 if(CORBA::is_nil(meshPtrCppC))
342 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingCMeshInterface_ptr !");
345 MEDCouplingCMesh *ret=MEDCouplingCMeshClient::New(meshPtrCppC);
351 class MEDCouplingCurveLinearMeshClient
356 static MEDCouplingCurveLinearMesh *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
358 PyObject* pdict=PyDict_New();
359 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
360 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
361 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
362 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
363 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
364 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
365 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
367 throw INTERP_KERNEL::Exception("Error : the input parameter of MEDCouplingCurveLinearMeshClient.New appears to differ from CORBA reference ! Expecting a CurveLinearMeshCorbaInterface CORBA reference !");
368 char *ior=PyString_AsString(iorMesh);
370 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
371 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
372 SALOME_MED::MEDCouplingCurveLinearMeshCorbaInterface_var meshPtrCppC=SALOME_MED::MEDCouplingCurveLinearMeshCorbaInterface::_narrow(meshPtrCpp);
373 if(CORBA::is_nil(meshPtrCppC))
374 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.MEDCouplingCurveLinearMeshInterface_ptr !");
377 MEDCouplingCurveLinearMesh *ret=MEDCouplingCurveLinearMeshClient::New(meshPtrCppC);
383 class DataArrayDoubleClient
388 static DataArrayDouble *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
390 PyObject* pdict=PyDict_New();
391 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
392 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
393 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
394 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
395 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
396 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
397 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
399 throw INTERP_KERNEL::Exception("Error : the input parameter of DataArrayDoubleClient.New appears to differ from CORBA reference ! Expecting a DataArrayDoubleCorbaInterface CORBA reference !");
400 char *ior=PyString_AsString(iorMesh);
402 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
403 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
404 SALOME_MED::DataArrayDoubleCorbaInterface_var meshPtrCppC=SALOME_MED::DataArrayDoubleCorbaInterface::_narrow(meshPtrCpp);
405 if(CORBA::is_nil(meshPtrCppC))
406 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.DataArrayDoubleInterface_ptr ");
409 DataArrayDouble *ret=DataArrayDoubleClient::New(meshPtrCppC);
415 class DataArrayIntClient
420 static DataArrayInt *New(PyObject *meshPtr) throw(INTERP_KERNEL::Exception)
422 PyObject* pdict=PyDict_New();
423 PyDict_SetItemString(pdict,"__builtins__",PyEval_GetBuiltins());
424 PyRun_String("import MEDCouplingCorbaServant_idl",Py_single_input,pdict, pdict);
425 PyRun_String("import CORBA",Py_single_input,pdict, pdict);
426 PyRun_String("orbTmp15634=CORBA.ORB_init([''])", Py_single_input,pdict, pdict);
427 PyObject *orbPython=PyDict_GetItemString(pdict,"orbTmp15634");
428 // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
429 PyObject *iorMesh=PyObject_CallMethod(orbPython,(char*)"object_to_string",(char*)"O",meshPtr);
431 throw INTERP_KERNEL::Exception("Error : the input parameter of DataArrayIntClient.New appears to differ from CORBA reference ! Expecting a DataArrayIntCorbaInterface CORBA reference !");
432 char *ior=PyString_AsString(iorMesh);
434 CORBA::ORB_var orb=CORBA::ORB_init(argc,0);
435 CORBA::Object_var meshPtrCpp=orb->string_to_object(ior);
436 SALOME_MED::DataArrayIntCorbaInterface_var meshPtrCppC=SALOME_MED::DataArrayIntCorbaInterface::_narrow(meshPtrCpp);
437 if(CORBA::is_nil(meshPtrCppC))
438 throw INTERP_KERNEL::Exception("error corba pointer is not a SALOME_MED.DataArrayIntInterface_ptr !");
441 DataArrayInt *ret=DataArrayIntClient::New(meshPtrCppC);
449 def ParaMEDMEMDataArrayDoubleIadd(self,*args):
450 import _MEDCouplingClient
451 return _MEDCouplingClient.DataArrayDouble____iadd___(self, self, *args)
452 def ParaMEDMEMDataArrayDoubleIsub(self,*args):
453 import _MEDCouplingClient
454 return _MEDCouplingClient.DataArrayDouble____isub___(self, self, *args)
455 def ParaMEDMEMDataArrayDoubleImul(self,*args):
456 import _MEDCouplingClient
457 return _MEDCouplingClient.DataArrayDouble____imul___(self, self, *args)
458 def ParaMEDMEMDataArrayDoubleIdiv(self,*args):
459 import _MEDCouplingClient
460 return _MEDCouplingClient.DataArrayDouble____idiv___(self, self, *args)
461 def ParaMEDMEMDataArrayDoubleIpow(self,*args):
462 import _MEDCouplingClient
463 return _MEDCouplingClient.DataArrayDouble____ipow___(self, self, *args)
464 def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
465 import _MEDCouplingClient
466 return _MEDCouplingClient.MEDCouplingFieldDouble____iadd___(self, self, *args)
467 def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
468 import _MEDCouplingClient
469 return _MEDCouplingClient.MEDCouplingFieldDouble____isub___(self, self, *args)
470 def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
471 import _MEDCouplingClient
472 return _MEDCouplingClient.MEDCouplingFieldDouble____imul___(self, self, *args)
473 def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
474 import _MEDCouplingClient
475 return _MEDCouplingClient.MEDCouplingFieldDouble____idiv___(self, self, *args)
476 def ParaMEDMEMMEDCouplingFieldDoubleIpow(self,*args):
477 import _MEDCouplingClient
478 return _MEDCouplingClient.MEDCouplingFieldDouble____ipow___(self, self, *args)
479 def ParaMEDMEMDataArrayIntIadd(self,*args):
480 import _MEDCouplingClient
481 return _MEDCouplingClient.DataArrayInt____iadd___(self, self, *args)
482 def ParaMEDMEMDataArrayIntIsub(self,*args):
483 import _MEDCouplingClient
484 return _MEDCouplingClient.DataArrayInt____isub___(self, self, *args)
485 def ParaMEDMEMDataArrayIntImul(self,*args):
486 import _MEDCouplingClient
487 return _MEDCouplingClient.DataArrayInt____imul___(self, self, *args)
488 def ParaMEDMEMDataArrayIntIdiv(self,*args):
489 import _MEDCouplingClient
490 return _MEDCouplingClient.DataArrayInt____idiv___(self, self, *args)
491 def ParaMEDMEMDataArrayIntImod(self,*args):
492 import _MEDCouplingClient
493 return _MEDCouplingClient.DataArrayInt____imod___(self, self, *args)
494 def ParaMEDMEMDataArrayIntIpow(self,*args):
495 import _MEDCouplingClient
496 return _MEDCouplingClient.DataArrayInt____ipow___(self, self, *args)
497 def ParaMEDMEMDataArrayDoubleTupleIadd(self,*args):
498 import _MEDCouplingClient
499 return _MEDCouplingClient.DataArrayDoubleTuple____iadd___(self, self, *args)
500 def ParaMEDMEMDataArrayDoubleTupleIsub(self,*args):
501 import _MEDCouplingClient
502 return _MEDCouplingClient.DataArrayDoubleTuple____isub___(self, self, *args)
503 def ParaMEDMEMDataArrayDoubleTupleImul(self,*args):
504 import _MEDCouplingClient
505 return _MEDCouplingClient.DataArrayDoubleTuple____imul___(self, self, *args)
506 def ParaMEDMEMDataArrayDoubleTupleIdiv(self,*args):
507 import _MEDCouplingClient
508 return _MEDCouplingClient.DataArrayDoubleTuple____idiv___(self, self, *args)
509 def ParaMEDMEMDataArrayIntTupleIadd(self,*args):
510 import _MEDCouplingClient
511 return _MEDCouplingClient.DataArrayIntTuple____iadd___(self, self, *args)
512 def ParaMEDMEMDataArrayIntTupleIsub(self,*args):
513 import _MEDCouplingClient
514 return _MEDCouplingClient.DataArrayIntTuple____isub___(self, self, *args)
515 def ParaMEDMEMDataArrayIntTupleImul(self,*args):
516 import _MEDCouplingClient
517 return _MEDCouplingClient.DataArrayIntTuple____imul___(self, self, *args)
518 def ParaMEDMEMDataArrayIntTupleIdiv(self,*args):
519 import _MEDCouplingClient
520 return _MEDCouplingClient.DataArrayIntTuple____idiv___(self, self, *args)
521 def ParaMEDMEMDataArrayIntTupleImod(self,*args):
522 import _MEDCouplingClient
523 return _MEDCouplingClient.DataArrayIntTuple____imod___(self, self, *args)
526 %include "MEDCouplingFinalize.i"