Salome HOME
Make joints easy to use with python
[tools/medcoupling.git] / src / MEDLoader / Swig / MEDLoader.i
index 48014a71a4bc162bd9b07fb0c7f74401baf4fbd5..65365882a5c677f22e641dac57da565b5dc2292a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -39,24 +39,48 @@ def MEDCouplingDataArrayDoubleIdiv(self,*args):
 def MEDCouplingDataArrayDoubleIpow(self,*args):
     import _MEDLoader
     return _MEDLoader.DataArrayDouble____ipow___(self, self, *args)
-def ParaMEDMEMMEDCouplingFieldDoublenew(cls,*args):
+def MEDCouplingFieldDoublenew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____new___(cls,args)
-def ParaMEDMEMMEDCouplingFieldDoubleIadd(self,*args):
+def MEDCouplingFieldDoubleIadd(self,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____iadd___(self, self, *args)
-def ParaMEDMEMMEDCouplingFieldDoubleIsub(self,*args):
+def MEDCouplingFieldDoubleIsub(self,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____isub___(self, self, *args)
-def ParaMEDMEMMEDCouplingFieldDoubleImul(self,*args):
+def MEDCouplingFieldDoubleImul(self,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____imul___(self, self, *args)
-def ParaMEDMEMMEDCouplingFieldDoubleIdiv(self,*args):
+def MEDCouplingFieldDoubleIdiv(self,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____idiv___(self, self, *args)
-def ParaMEDMEMMEDCouplingFieldDoubleIpow(self,*args):
+def MEDCouplingFieldDoubleIpow(self,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingFieldDouble____ipow___(self, self, *args)
+def MEDCouplingFieldIntnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDCouplingFieldInt____new___(cls,args)
+def MEDCouplingFieldFloatnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDCouplingFieldFloat____new___(cls,args)
+def MEDCouplingDataArrayBytenew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayByte____new___(cls,args)
+def MEDCouplingDataArrayFloatnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayFloat____new___(cls,args)
+def MEDCouplingDataArrayFloatIadd(self,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayFloat____iadd___(self, self, *args)
+def MEDCouplingDataArrayFloatIsub(self,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayFloat____isub___(self, self, *args)
+def MEDCouplingDataArrayFloatImul(self,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayFloat____imul___(self, self, *args)
+def MEDCouplingDataArrayFloatIdiv(self,*args):
+    import _MEDLoader
+    return _MEDLoader.DataArrayFloat____idiv___(self, self, *args)
 def MEDCouplingDataArrayIntnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.DataArrayInt____new___(cls,args)
@@ -111,38 +135,88 @@ def ParaMEDMEMDenseMatrixIadd(self,*args):
 def ParaMEDMEMDenseMatrixIsub(self,*args):
     import _MEDLoader
     return _MEDLoader.DenseMatrix____isub___(self, self, *args)
-def ParaMEDMEMMEDCouplingUMeshnew(cls,*args):
+def MEDCouplingUMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingUMesh____new___(cls,args)
-def ParaMEDMEMMEDCoupling1DGTUMeshnew(cls,*args):
+def MEDCoupling1DGTUMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCoupling1DGTUMesh____new___(cls,args)
-def ParaMEDMEMMEDCoupling1SGTUMeshnew(cls,*args):
+def MEDCoupling1SGTUMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCoupling1SGTUMesh____new___(cls,args)
-def ParaMEDMEMMEDCouplingCurveLinearMeshnew(cls,*args):
+def MEDCouplingCurveLinearMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingCurveLinearMesh____new___(cls,args)
-def ParaMEDMEMMEDCouplingCMeshnew(cls,*args):
+def MEDCouplingCMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingCMesh____new___(cls,args)
-def ParaMEDMEMMEDCouplingIMeshnew(cls,*args):
+def MEDCouplingIMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDCouplingIMesh____new___(cls,args)
-def ParaMEDMEMMEDCouplingExtrudedMeshnew(cls,*args):
+def MEDCouplingExtrudedMeshnew(cls,*args):
     import _MEDLoader
-    return _MEDLoader.MEDCouplingExtrudedMesh____new___(cls,args)
+    return _MEDLoader.MEDCouplingMappedExtrudedMesh____new___(cls,args)
 %}
 
 %pythoncode %{
-def ParaMEDMEMMEDFileUMeshnew(cls,*args):
+def MEDCouplingMEDFileUMeshnew(cls,*args):
     import _MEDLoader
     return _MEDLoader.MEDFileUMesh____new___(cls,args)
+def MEDCouplingMEDFileCMeshnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDFileCMesh____new___(cls,args)
+def MEDCouplingMEDFileCurveLinearMeshnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDFileCurveLinearMesh____new___(cls,args)
+def MEDCouplingMEDFileMeshesnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDFileMeshes____new___(cls,args)
+def MEDCouplingMEDFileDatanew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDFileData____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 MEDCouplingMEDFileParametersnew(cls,*args):
+    import _MEDLoader
+    return _MEDLoader.MEDFileParameters____new___(cls,args)
 %}
 
 %include "MEDCouplingFinalize.i"
 
 %pythoncode %{
-MEDFileUMesh.__new__=classmethod(ParaMEDMEMMEDFileUMeshnew)
-del ParaMEDMEMMEDFileUMeshnew
+MEDFileUMesh.__new__=classmethod(MEDCouplingMEDFileUMeshnew)
+del MEDCouplingMEDFileUMeshnew
+MEDFileCMesh.__new__=classmethod(MEDCouplingMEDFileCMeshnew)
+del MEDCouplingMEDFileCMeshnew
+MEDFileCurveLinearMesh.__new__=classmethod(MEDCouplingMEDFileCurveLinearMeshnew)
+del MEDCouplingMEDFileCurveLinearMeshnew
+MEDFileData.__new__=classmethod(MEDCouplingMEDFileDatanew)
+del MEDCouplingMEDFileDatanew
+MEDFileMeshes.__new__=classmethod(MEDCouplingMEDFileMeshesnew)
+del MEDCouplingMEDFileMeshesnew
+MEDFileFields.__new__=classmethod(MEDCouplingMEDFileFieldsnew)
+del MEDCouplingMEDFileFieldsnew
+MEDFileField1TS.__new__=classmethod(MEDCouplingMEDFileField1TSnew)
+del MEDCouplingMEDFileField1TSnew
+MEDFileFieldMultiTS.__new__=classmethod(MEDCouplingMEDFileFieldMultiTSnew)
+del MEDCouplingMEDFileFieldMultiTSnew
+MEDFileIntField1TS.__new__=classmethod(MEDCouplingMEDFileIntField1TSnew)
+del MEDCouplingMEDFileIntField1TSnew
+MEDFileIntFieldMultiTS.__new__=classmethod(MEDCouplingMEDFileIntFieldMultiTSnew)
+del MEDCouplingMEDFileIntFieldMultiTSnew
+MEDFileParameters.__new__=classmethod(MEDCouplingMEDFileParametersnew)
+del MEDCouplingMEDFileParametersnew
 %}