}
%pythoncode %{
-def MEDCouplingDataArrayDoublenew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.DataArrayDouble____new___(cls,args)
def MEDCouplingDataArrayDoubleIadd(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DataArrayDouble____iadd___(self, self, *args)
def MEDCouplingDataArrayDoubleIpow(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DataArrayDouble____ipow___(self, self, *args)
-def MEDCouplingFieldDoublenew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingFieldDouble____new___(cls,args)
def MEDCouplingFieldDoubleIadd(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.MEDCouplingFieldDouble____iadd___(self, self, *args)
def MEDCouplingFieldDoubleIpow(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.MEDCouplingFieldDouble____ipow___(self, self, *args)
-def MEDCouplingFieldIntnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingFieldInt____new___(cls,args)
-def MEDCouplingFieldFloatnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingFieldFloat____new___(cls,args)
-def MEDCouplingDataArrayBytenew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.DataArrayByte____new___(cls,args)
-def MEDCouplingDataArrayFloatnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.DataArrayFloat____new___(cls,args)
def MEDCouplingDataArrayFloatIadd(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DataArrayFloat____iadd___(self, self, *args)
def MEDCouplingDataArrayFloatIdiv(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DataArrayFloat____idiv___(self, self, *args)
-def MEDCouplingDataArrayIntnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.DataArrayInt____new___(cls,args)
def MEDCouplingDataArrayIntIadd(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DataArrayInt____iadd___(self, self, *args)
def ParaMEDMEMDenseMatrixIsub(self,*args):
import _MEDCouplingRemapper
return _MEDCouplingRemapper.DenseMatrix____isub___(self, self, *args)
-def MEDCouplingUMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingUMesh____new___(cls,args)
-def MEDCoupling1DGTUMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCoupling1DGTUMesh____new___(cls,args)
-def MEDCoupling1SGTUMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCoupling1SGTUMesh____new___(cls,args)
-def MEDCouplingCurveLinearMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingCurveLinearMesh____new___(cls,args)
-def MEDCouplingCMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingCMesh____new___(cls,args)
-def MEDCouplingIMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingIMesh____new___(cls,args)
-def MEDCouplingExtrudedMeshnew(cls,*args):
- import _MEDCouplingRemapper
- return _MEDCouplingRemapper.MEDCouplingMappedExtrudedMesh____new___(cls,args)
%}
%include "MEDCouplingFinalize.i"
%include "MEDLoaderCommon.i"
%pythoncode %{
-def MEDCouplingDataArrayDoublenew(cls,*args):
- import _MEDLoader
- return _MEDLoader.DataArrayDouble____new___(cls,args)
def MEDCouplingDataArrayDoubleIadd(self,*args):
import _MEDLoader
return _MEDLoader.DataArrayDouble____iadd___(self, self, *args)
return _MEDLoader.DenseMatrix____isub___(self, self, *args)
%}
-%pythoncode %{
-def MEDCouplingMEDFileMeshesnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileMeshes____new___(cls,args)
-def MEDCouplingMEDFileFieldsnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileFields____new___(cls,args)
-def MEDCouplingMEDFileField1TSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileField1TS____new___(cls,args)
-def MEDCouplingMEDFileFieldMultiTSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileFieldMultiTS____new___(cls,args)
-def MEDCouplingMEDFileIntField1TSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileIntField1TS____new___(cls,args)
-def MEDCouplingMEDFileIntFieldMultiTSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileIntFieldMultiTS____new___(cls,args)
-def MEDCouplingMEDFileFloatField1TSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileFloatField1TS____new___(cls,args)
-def MEDCouplingMEDFileFloatFieldMultiTSnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileFloatFieldMultiTS____new___(cls,args)
-def MEDCouplingMEDFileParametersnew(cls,*args):
- import _MEDLoader
- return _MEDLoader.MEDFileParameters____new___(cls,args)
-%}
-
%include "MEDCouplingFinalize.i"
%pythoncode %{
return MEDCouplingStdReduceFunct,(MEDFileCurveLinearMesh,((self.serialize(),),(self.__getstate__()),))
MEDFileCurveLinearMesh.__reduce__=MEDCouplingMEDFileCurveLinearMeshReduce
del MEDCouplingMEDFileCurveLinearMeshReduce
-def MEDCouplingMEDFileDataReduce(self):#"PyWrap of MEDFileData.__getnewargs__ : not implemented because numpy is not active in your configuration ! No serialization/unserialization available without numpy !"
+def MEDCouplingMEDFileDataReduce(self):
return MEDCouplingStdReduceFunct,(MEDFileData,((self.serialize(),),(self.__getstate__()),))
MEDFileData.__reduce__=MEDCouplingMEDFileDataReduce
del MEDCouplingMEDFileDataReduce
%}
%pythoncode %{
-def MEDCouplingDataArrayDoublenew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.DataArrayDouble____new___(cls,args)
def MEDCouplingDataArrayDoubleIadd(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DataArrayDouble____iadd___(self, self, *args)
def MEDCouplingDataArrayDoubleIpow(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DataArrayDouble____ipow___(self, self, *args)
-def MEDCouplingFieldDoublenew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingFieldDouble____new___(cls,args)
def MEDCouplingFieldDoubleIadd(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.MEDCouplingFieldDouble____iadd___(self, self, *args)
def MEDCouplingFieldDoubleIpow(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.MEDCouplingFieldDouble____ipow___(self, self, *args)
-def MEDCouplingFieldIntnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingFieldInt____new___(cls,args)
-def MEDCouplingFieldFloatnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingFieldFloat____new___(cls,args)
-def MEDCouplingDataArrayIntnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.DataArrayInt____new___(cls,args)
def MEDCouplingDataArrayIntIadd(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DataArrayInt____iadd___(self, self, *args)
def MEDCouplingDataArrayIntIpow(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DataArrayInt____ipow___(self, self, *args)
-def MEDCouplingDataArrayBytenew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.DataArrayByte____new___(cls,args)
-def MEDCouplingDataArrayFloatnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.DataArrayFloat____new___(cls,args)
def MEDCouplingDataArrayFloatIadd(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DataArrayFloat____iadd___(self, self, *args)
def ParaMEDMEMDenseMatrixIsub(self,*args):
import _ParaMEDMEM
return _ParaMEDMEM.DenseMatrix____isub___(self, self, *args)
-def MEDCouplingUMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingUMesh____new___(cls,args)
-def MEDCoupling1DGTUMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCoupling1DGTUMesh____new___(cls,args)
-def MEDCoupling1SGTUMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCoupling1SGTUMesh____new___(cls,args)
-def MEDCouplingCurveLinearMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingCurveLinearMesh____new___(cls,args)
-def MEDCouplingCMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingCMesh____new___(cls,args)
-def MEDCouplingIMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingIMesh____new___(cls,args)
-def MEDCouplingExtrudedMeshnew(cls,*args):
- import _ParaMEDMEM
- return _ParaMEDMEM.MEDCouplingMappedExtrudedMesh____new___(cls,args)
%}
%include "MEDCouplingFinalize.i"
%include "MEDRenumberCommon.i"
%pythoncode %{
-def MEDCouplingDataArrayDoublenew(cls,*args):
- import _MEDRenumber
- return _MEDRenumber.DataArrayDouble____new___(cls,args)
def MEDCouplingDataArrayDoubleIadd(self,*args):
import _MEDRenumber
return _MEDRenumber.DataArrayDouble____iadd___(self, self, *args)
def MEDCouplingDataArrayDoubleIpow(self,*args):
import _MEDRenumber
return _MEDRenumber.DataArrayDouble____ipow___(self, self, *args)
-def MEDCouplingDataArrayIntnew(cls,*args):
- import _MEDRenumber
- return _MEDRenumber.DataArrayInt____new___(cls,args)
def MEDCouplingDataArrayIntIadd(self,*args):
import _MEDRenumber
return _MEDRenumber.DataArrayInt____iadd___(self, self, *args)
def MEDCouplingDataArrayIntIpow(self,*args):
import _MEDRenumber
return _MEDRenumber.DataArrayInt____ipow___(self, self, *args)
-def MEDCouplingDataArrayBytenew(cls,*args):
- import _MEDRenumber
- return _MEDRenumber.DataArrayByte____new___(cls,args)
-def MEDCouplingDataArrayFloatnew(cls,*args):
- import _MEDRenumber
- return _MEDRenumber.DataArrayFloat____new___(cls,args)
def MEDCouplingDataArrayFloatIadd(self,*args):
import _MEDRenumber
return _MEDRenumber.DataArrayFloat____iadd___(self, self, *args)
%pythoncode %{
InterpKernelException.__reduce__=INTERPKERNELExceptionReduce
-DataArrayDouble.__new__=classmethod(MEDCouplingDataArrayDoublenew)
+DataArrayDouble.__reduce__=MEDCouplingDataArrayDoubleReduce
DataArrayDouble.__iadd__=MEDCouplingDataArrayDoubleIadd
DataArrayDouble.__isub__=MEDCouplingDataArrayDoubleIsub
DataArrayDouble.__imul__=MEDCouplingDataArrayDoubleImul
DataArrayDouble.__idiv__=MEDCouplingDataArrayDoubleIdiv
DataArrayDouble.__ipow__=MEDCouplingDataArrayDoubleIpow
-DataArrayInt.__new__=classmethod(MEDCouplingDataArrayIntnew)
+DataArrayInt.__reduce__=MEDCouplingDataArrayIntReduce
DataArrayInt.__iadd__=MEDCouplingDataArrayIntIadd
DataArrayInt.__isub__=MEDCouplingDataArrayIntIsub
DataArrayInt.__imul__=MEDCouplingDataArrayIntImul
DataArrayIntTuple.__imod__=MEDCouplingDataArrayIntTupleImod
del INTERPKERNELExceptionReduce
-del MEDCouplingDataArrayDoublenew
+del MEDCouplingDataArrayDoubleReduce
+del MEDCouplingDataArrayIntReduce
del MEDCouplingDataArrayDoubleIadd
del MEDCouplingDataArrayDoubleIsub
del MEDCouplingDataArrayDoubleImul
del MEDCouplingDataArrayDoubleIdiv
-del MEDCouplingDataArrayIntnew
del MEDCouplingDataArrayIntIadd
del MEDCouplingDataArrayIntIsub
del MEDCouplingDataArrayIntImul