True, the solution offered by FJacq seems to be robust. I recently encountered something that confused me even more. I discovered that the following does in fact work with g95.
module routine_interfaces
implicit none
interface
subroutine array_function(array)
real, dimension(:)...
I found a sweet syntax that was really helpful to simplify a lot of code. Problem is, I discovered this is a Fortran 2003 feature. It works like this:
interface
subroutine name_in_interface(a)
real, dimension(:), intent(in) :: a
end subroutine name_in_interface
end interface...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.