Re: [f2py] user fortran type declaration
osirpt <[email protected]> Sat, 27 Nov 2010 16:47:26 +0000 (UTC)
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Xavier Barthelemy <xabart@...> writes: > > Hello every one > > I have been using f2py since a few month, and I want to congrat Pearu > Peterson for this. After using swig, f2py is way more simple and it > work very well. > > I have wrap different subroutine and it works well in python, thanks > to f2py. My problem is I can't reach certain calculus precision in > standard fortran. So I need to use user defined type. > I have understood that f2py does not handle user-defined variable > type, and i think it doesn't do that in sense of I can't get this kind > of variable in or out. > But i would like to use user define type as inner variable of my > fortran program. > In the current version of F2PY, the derived types are not supported. I just find that in the FAQ by the authors http://cens.ioc.ee/projects/f2py2e/FAQ.html#q-does-f2py-support-derived-types-in-f90-code Wish it helps