Python/Fortran interoperability
viper-2
visionat at mail.infochan.com
Sun Aug 23 09:08:52 EDT 2009
On Aug 23, 6:35 am, n... at cam.ac.uk wrote:
> I am interested in surveying people who want to interoperate between
> Fortran and Python to find out what they would like to be able to do
> more conveniently, especially with regard to types not supported for C
> interoperability by the current Fortran standard. <snip>
Python is still on my "to do" list, but I know I'll be interested in
the following:
> 1) Do you want to use character strings of arbitrary length?
>
Yes
> 2) Do you want to use Python classes with list members, where the
> length of the list is not necessarily fixed for all instances of the
> class? Or, equivalently, Fortran derived types containing allocatable
> or pointer arrays?
>
Yes
> 2) Do you want to use Fortran derived types or Python classes that
> contain type-bound procedures (including finalizers)? Please answer
> "yes" whether or nor you would like to call those type-bound procedures
> from the other language.
>
Don't know yet
> 4) Do you want to call functions where the called language allocates
> or deallocates arrays/lists/strings for use by the calling language?
> Note that this is specifically Fortran->Python and Python->Fortran.
>
Yes
agt
--
Freedom - no pane, all gaiGN!
Code Art Now
http://codeartnow.com
Email: agt at codeartnow.com
More information about the Python-list
mailing list