[Numpy-discussion] f2py with allocatable arrays

Pearu Peterson pearu.peterson@gmail....
Tue Jul 3 12:24:27 CDT 2012

On Tue, Jul 3, 2012 at 5:20 PM, Sturla Molden <sturla@molden.no> wrote:

> As for f2py: Allocatable arrays are local variables for internal use,
> and they are not a part of the subroutine's calling interface. f2py only
> needs to know about the interface, not the local variables.

One can have allocatable arrays in module data block, for instance, where
they a global. f2py supports wrapping these allocatable arrays to python.
See, for example,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120703/61cadde8/attachment.html 

More information about the NumPy-Discussion mailing list