Re: [f2py] Pass a python array on a subroutine
Jürgen Wieferink <[email protected]> Mon, 2 Aug 2010 09:30:11 +0200
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Audrey, it would be very helpful for all the readers of the list to try hard to make examples as short and terse as possible. Chances are higher to get a usable answer if we do not have to struggle through mostly unrelated code. Regards, Juergen Audrey Hureau wrote (Monday 02 August 2010 09:11:40): > Hello everyone, > > I need your help because I try to pass a python array in a subroutine but > the values I retrieve in my fortran subroutine are all null. I don't know > why. > Is anobody can tell me more about why I get this? > Here is the python program : http://pastebin.com/MT8mLmaV. The subroutine > is named "executable". The array's values are calculated with another > python program called "projRot" and stocked in the "Proj" array. Here is > the subroutine : http://pastebin.com/UExTzEhp. > > Audrey >