Basic HTML version of Foils prepared August 7 98

Foil 12 Fortran 90/95 Procedure Interfaces

From DoD HPF Training -- 2. Fortran90 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


Explicit and implicit interfaces
  • Explicit: in the same compilation unit, or imported interface
    • Required for certain uses such as POINTER dummies and assumed-shape array dummies
  • Implicit: as in FORTRAN 77
INTERFACE blocks provide explicit interfaces
  • Define types of parameters and return values
MODULE provides type-safe libraries
  • Contains declarations, functions, and type definitions
  • All interfaces collected in one place
  • PRIVATE data and procedures allowed
  • USE imports the interfaces



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 9 1998