I have a question regarding f2py:

Can it map NumPy arrays to Fortran 95 'dope vectors'?

I can find many examples on interfacing Fortran 77 with NumPy, but not
Fortran 95. This is of course very different as Fortran 77 are always
contiguous, whereas Fortran 95 arrays are not. Thus a Fortran 95 compiler
will pass a pointer to a struct referred to as a 'dope vector', which by
the way is very similar to a NumPy ndarray. But the ABI for a 'dope
vector' is implementation (compiler) dependent. So what does f2py do? Can
it use Charm?

Sturla Molden


_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to