Difference between revisions of "Fortran2"

From SourceWiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
==Modules==
 
==Modules==
 +
 +
Variables and subroutines.  Use (with only attributes).  Group together related info/routines.
  
 
==Libraries==
 
==Libraries==

Revision as of 13:57, 24 February 2008


Fortran2: Getting the most from Fortran

Allocatable Arrays

A 2d grid. Read x and y dimensions from a namelist. fill out array values according to 360 degrees/num cells etc.

User Derived Types

DAB radio. Channel has frequency and name. Array of channels.

Modules

Variables and subroutines. Use (with only attributes). Group together related info/routines.

Libraries

Appendices

Including NetCDF