PETSc includes limited support for direct use of Fortran90 pointers. Current routines include:
#include "include/finclude/vec.h90"Analogous include files for other components are da.h90, mat.h90, and is.h90; the conventional Fortran style include files (as discussed in Section Include Files ) are supported as well.
Unfortunately, these routines currently work only on certain machines with certain compilers. They currently work with the SGI, the Cray T3E, the IBM and the NAG Fortran 90 compiler.