Difference between revisions of "Fortran2"

From SourceWiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
A 2d grid.  Read x and y dimensions from a namelist.  fill out array values according to 360 degrees/num cells etc.
 
A 2d grid.  Read x and y dimensions from a namelist.  fill out array values according to 360 degrees/num cells etc.
 +
 +
Have written example.  Will write up notes - GW.
  
 
=User Derived Types=
 
=User Derived Types=

Revision as of 18:15, 25 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.

Have written example. Will write up notes - GW.

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