Fortran2

From SourceWiki
Jump to navigation Jump to search


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