1 // Copyright (C) 2017-2021 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, or (at your option) any later version.
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 (EDF R&D)
22 MEDFileMeshesIterator.__next__ = MEDFileMeshesIterator.next
23 MEDFileAnyTypeFieldMultiTSIterator.__next__ = MEDFileAnyTypeFieldMultiTSIterator.next
24 MEDFileFieldsIterator.__next__ = MEDFileFieldsIterator.next
28 def MEDCouplingMEDFileUMeshReduce(self):
29 return MEDCouplingStdReduceFunct,(MEDFileUMesh,((),(self.__getstate__()),))
30 MEDFileUMesh.__reduce__=MEDCouplingMEDFileUMeshReduce
31 del MEDCouplingMEDFileUMeshReduce
32 def MEDCouplingMEDFileCMeshReduce(self):
33 return MEDCouplingStdReduceFunct,(MEDFileCMesh,((self.serialize(),),(self.__getstate__()),))
34 MEDFileCMesh.__reduce__=MEDCouplingMEDFileCMeshReduce
35 del MEDCouplingMEDFileCMeshReduce
36 def MEDCouplingMEDFileCurveLinearMeshReduce(self):
37 return MEDCouplingStdReduceFunct,(MEDFileCurveLinearMesh,((self.serialize(),),(self.__getstate__()),))
38 MEDFileCurveLinearMesh.__reduce__=MEDCouplingMEDFileCurveLinearMeshReduce
39 del MEDCouplingMEDFileCurveLinearMeshReduce
40 def MEDCouplingMEDFileDataReduce(self):
41 return MEDCouplingStdReduceFunct,(MEDFileData,((self.serialize(),),(self.__getstate__()),))
42 MEDFileData.__reduce__=MEDCouplingMEDFileDataReduce
43 del MEDCouplingMEDFileDataReduce
44 def MEDCouplingMEDFileMeshesReduce(self):
45 return MEDCouplingStdReduceFunct,(MEDFileMeshes,((self.serialize(),),(self.__getstate__()),))
46 MEDFileMeshes.__reduce__=MEDCouplingMEDFileMeshesReduce
47 del MEDCouplingMEDFileMeshesReduce
48 def MEDCouplingMEDFileFieldsReduce(self):
49 return MEDCouplingStdReduceFunct,(MEDFileFields,((self.serialize(),),(self.__getstate__()),))
50 MEDFileFields.__reduce__=MEDCouplingMEDFileFieldsReduce
51 del MEDCouplingMEDFileFieldsReduce
52 def MEDCouplingMEDFileField1TSReduce(self):
53 return MEDCouplingStdReduceFunct,(MEDFileField1TS,((self.serialize(),),(self.__getstate__()),))
54 MEDFileField1TS.__reduce__=MEDCouplingMEDFileField1TSReduce
55 del MEDCouplingMEDFileField1TSReduce
56 def MEDCouplingMEDFileFieldMultiTSReduce(self):
57 return MEDCouplingStdReduceFunct,(MEDFileFieldMultiTS,((self.serialize(),),(self.__getstate__()),))
58 MEDFileFieldMultiTS.__reduce__=MEDCouplingMEDFileFieldMultiTSReduce
59 del MEDCouplingMEDFileFieldMultiTSReduce
60 def MEDCouplingMEDFileIntField1TSReduce(self):
61 return MEDCouplingStdReduceFunct,(MEDFileIntField1TS,((self.serialize(),),(self.__getstate__()),))
62 MEDFileIntField1TS.__reduce__=MEDCouplingMEDFileIntField1TSReduce
63 def MEDCouplingMEDFileIntFieldMultiTSReduce(self):
64 return MEDCouplingStdReduceFunct,(MEDFileIntFieldMultiTS,((self.serialize(),),(self.__getstate__()),))
65 MEDFileIntFieldMultiTS.__reduce__=MEDCouplingMEDFileIntFieldMultiTSReduce
66 del MEDCouplingMEDFileIntFieldMultiTSReduce
67 def MEDCouplingMEDFileFloatField1TSReduce(self):
68 return MEDCouplingStdReduceFunct,(MEDFileFloatField1TS,((self.serialize(),),(self.__getstate__()),))
69 MEDFileFloatField1TS.__reduce__=MEDCouplingMEDFileFloatField1TSReduce
70 def MEDCouplingMEDFileFloatFieldMultiTSReduce(self):
71 return MEDCouplingStdReduceFunct,(MEDFileFloatFieldMultiTS,((self.serialize(),),(self.__getstate__()),))
72 MEDFileFloatFieldMultiTS.__reduce__=MEDCouplingMEDFileFloatFieldMultiTSReduce
73 del MEDCouplingMEDFileFloatFieldMultiTSReduce
74 def MEDCouplingMEDFileParametersReduce(self):
75 return MEDCouplingStdReduceFunct,(MEDFileParameters,((self.serialize(),),(self.__getstate__()),))
76 MEDFileParameters.__reduce__=MEDCouplingMEDFileParametersReduce
77 del MEDCouplingMEDFileParametersReduce