Fortran interfaces

William Gropp gropp at mcs.anl.gov
Mon Aug 22 08:31:34 CDT 2005


At 09:06 AM 8/19/2005, Barry Smith wrote:

>   Bill,
>
>     Do you think it would be possible to enhance bfort
>to generate Fortran 90 interface definitions? Something like
>
>   PetscErrorCode MatFactorInfoInitialize(MatFactorInfo info)
>
>becomes
>
>  interface
>    subroutine MatFactorInfoInitialize(info,ierr)
>      MatFactorInfo :: info(11)
>      PetscErrorCode :: ierr
>    end subroutine
>  end interface
>
>   I think this would help with Fortran programmers writing correct
>codes much quicker.

I think that this is a good idea. This would be a good student project.

Bill


>    Thanks,
>
>     Barry

William Gropp
http://www.mcs.anl.gov/~gropp  




More information about the petsc-dev mailing list