Eildert Groeneveld <[log in to unmask]> wrote:
> Dear all,
> this is question regarding the handling of interface blocks. What is -
> from your experience - the best place to put the interface blocks?
> Assume we have the routine foo.f90. Put its ifb into foo.int and then
> have it included in foo.f90 and any other routine that calls it? Then
> one would have to put foo.int also in the make file. Right?
>
> I have currntly a large number of f90 routine in a big package which I
> would like to 'clean' by inserting the interface blocks. How do I best
> do this?
The practice that I prefer is to have all interface blocks in a single
module, say interfaces.f90, and have all procedures USE this module
with a statement of the form:
USE interfaces, except_for => present_subroutine
Michel
Michel OLAGNON email: [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|