Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A forgotten C++ test
[tools/medcoupling.git]
/
src
/
MEDLoader
/
Swig
/
MEDLoader.i
diff --git
a/src/MEDLoader/Swig/MEDLoader.i
b/src/MEDLoader/Swig/MEDLoader.i
index ab8d676ed77f572cce5382babdd9efe36837879b..d85b638165bcf60afbf5f590a45bbb586292235f 100644
(file)
--- a/
src/MEDLoader/Swig/MEDLoader.i
+++ b/
src/MEDLoader/Swig/MEDLoader.i
@@
-134,4
+134,15
@@
def ParaMEDMEMMEDCouplingExtrudedMeshnew(cls,*args):
return _MEDLoader.MEDCouplingExtrudedMesh____new___(cls,args)
%}
return _MEDLoader.MEDCouplingExtrudedMesh____new___(cls,args)
%}
+%pythoncode %{
+def ParaMEDMEMMEDFileUMeshnew(cls,*args):
+ import _MEDLoader
+ return _MEDLoader.MEDFileUMesh____new___(cls,args)
+%}
+
%include "MEDCouplingFinalize.i"
%include "MEDCouplingFinalize.i"
+
+%pythoncode %{
+MEDFileUMesh.__new__=classmethod(ParaMEDMEMMEDFileUMeshnew)
+del ParaMEDMEMMEDFileUMeshnew
+%}