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
20 %module MEDCouplingCorba
23 #include "MEDCouplingFieldDoubleServant.hxx"
24 #include "MEDCouplingFieldTemplateServant.hxx"
25 #include "MEDCouplingMultiFieldsServant.hxx"
26 #include "MEDCouplingFieldOverTimeServant.hxx"
27 #include "MEDCouplingUMeshServant.hxx"
28 #include "MEDCouplingExtrudedMeshServant.hxx"
29 #include "MEDCouplingCMeshServant.hxx"
30 #include "DataArrayDoubleServant.hxx"
31 #include "DataArrayIntServant.hxx"
32 #include "MEDCouplingCorbaTypemaps.i"
34 using namespace ParaMEDMEM;
37 %include "MEDCouplingCommon.i"
41 class MEDCouplingFieldDoubleServant
46 static PyObject *_this(const MEDCouplingFieldDouble *cppPointerOfMesh)
48 return buildServantAndActivate<MEDCouplingFieldDoubleServant>(cppPointerOfMesh);
53 class MEDCouplingFieldTemplateServant
58 static PyObject *_this(const MEDCouplingFieldTemplate *cppPointerOfMesh)
60 return buildServantAndActivate<MEDCouplingFieldTemplateServant>(cppPointerOfMesh);
65 class MEDCouplingMultiFieldsServant
70 static PyObject *_this(const MEDCouplingMultiFields *cppPointerOfMesh)
72 return buildServantAndActivate<MEDCouplingMultiFieldsServant>(cppPointerOfMesh);
77 class MEDCouplingFieldOverTimeServant
82 static PyObject *_this(const MEDCouplingFieldOverTime *cppPointerOfMesh)
84 return buildServantAndActivate<MEDCouplingFieldOverTimeServant>(cppPointerOfMesh);
89 class MEDCouplingUMeshServant
94 static PyObject *_this(const MEDCouplingUMesh *cppPointerOfMesh)
96 return buildServantAndActivate<MEDCouplingUMeshServant>(cppPointerOfMesh);
101 class MEDCouplingExtrudedMeshServant
106 static PyObject *_this(const MEDCouplingExtrudedMesh *cppPointerOfMesh)
108 return buildServantAndActivate<MEDCouplingExtrudedMeshServant>(cppPointerOfMesh);
113 class MEDCouplingCMeshServant
118 static PyObject *_this(const MEDCouplingCMesh *cppPointerOfMesh)
120 return buildServantAndActivate<MEDCouplingCMeshServant>(cppPointerOfMesh);
125 class DataArrayDoubleServant
130 static PyObject *_this(const DataArrayDouble *cppPointerOfMesh)
132 return buildServantAndActivate<DataArrayDoubleServant>(cppPointerOfMesh);
137 class DataArrayIntServant
142 static PyObject *_this(const DataArrayInt *cppPointerOfMesh)
144 return buildServantAndActivate<DataArrayIntServant>(cppPointerOfMesh);
151 def ParaMEDMEMDataArrayDoubleIadd(self,*args):
152 import _MEDCouplingCorba
153 return _MEDCouplingCorba.DataArrayDouble____iadd___(self, self, *args)
154 def ParaMEDMEMDataArrayDoubleIsub(self,*args):
155 import _MEDCouplingCorba
156 return _MEDCouplingCorba.DataArrayDouble____isub___(self, self, *args)
157 def ParaMEDMEMDataArrayDoubleImul(self,*args):
158 import _MEDCouplingCorba
159 return _MEDCouplingCorba.DataArrayDouble____imul___(self, self, *args)
160 def ParaMEDMEMDataArrayDoubleIdiv(self,*args):
161 import _MEDCouplingCorba
162 return _MEDCouplingCorba.DataArrayDouble____idiv___(self, self, *args)
163 def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
164 import _MEDCouplingCorba
165 return _MEDCouplingCorba.MEDCouplingFieldDouble____iadd___(self, self, *args)
166 def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
167 import _MEDCouplingCorba
168 return _MEDCouplingCorba.MEDCouplingFieldDouble____isub___(self, self, *args)
169 def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
170 import _MEDCouplingCorba
171 return _MEDCouplingCorba.MEDCouplingFieldDouble____imul___(self, self, *args)
172 def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
173 import _MEDCouplingCorba
174 return _MEDCouplingCorba.MEDCouplingFieldDouble____idiv___(self, self, *args)
175 def ParaMEDMEMDataArrayIntIadd(self,*args):
176 import _MEDCouplingCorba
177 return _MEDCouplingCorba.DataArrayInt____iadd___(self, self, *args)
178 def ParaMEDMEMDataArrayIntIsub(self,*args):
179 import _MEDCouplingCorba
180 return _MEDCouplingCorba.DataArrayInt____isub___(self, self, *args)
181 def ParaMEDMEMDataArrayIntImul(self,*args):
182 import _MEDCouplingCorba
183 return _MEDCouplingCorba.DataArrayInt____imul___(self, self, *args)
184 def ParaMEDMEMDataArrayIntIdiv(self,*args):
185 import _MEDCouplingCorba
186 return _MEDCouplingCorba.DataArrayInt____idiv___(self, self, *args)
187 def ParaMEDMEMDataArrayIntImod(self,*args):
188 import _MEDCouplingCorba
189 return _MEDCouplingCorba.DataArrayInt____imod___(self, self, *args)
192 %include "MEDCouplingFinalize.i"