Barry Smith <[email protected]> writes:
>    I put the example with VecGetArray() into petsc-dev and if you send
>    me one with DMDAVecGetArray() I'll add that as well.  Since the
>    derived type has to appear explicitly in the code I can't put
>    something in the library only in examples that people can copy and
>    change.

This is the sad state of Fortran.  Alternatively, it should be possible
to call the C DMDAVecGetArray via the ISO C bindings in Fortran 2003.

Yet another example that the best way to call Fortran libraries from
Fortran is to use the ISO C bindings.

Attachment: pgpewikIEW9YI.pgp
Description: PGP signature

Reply via email to