Difference between revisions of "Fortran2"

From SourceWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
=Following On=
 
=Following On=
  
These notes follow on from the [[Fortran1]] course.  You may want to lok back at those notes and examples, or if you're feeling confident, just dive in here!
+
These notes follow on from the [[Fortran1]] course.  You may want to look back at those notes and examples, or if you're feeling confident, just dive in here!
  
 
To get the example programs login in to a Linux box and type:
 
To get the example programs login in to a Linux box and type:
Line 10: Line 10:
 
<pre>
 
<pre>
 
svn co http://source.ggy.bris.ac.uk/subversion-open/fortran2/trunk fortran2
 
svn co http://source.ggy.bris.ac.uk/subversion-open/fortran2/trunk fortran2
</pre>  
+
</pre>
  
 
=Allocatable Arrays=
 
=Allocatable Arrays=

Revision as of 10:50, 26 February 2008

'Fortran2: Getting the most from Fortran'

Following On

These notes follow on from the Fortran1 course. You may want to look back at those notes and examples, or if you're feeling confident, just dive in here!

To get the example programs login in to a Linux box and type:

svn co http://source.ggy.bris.ac.uk/subversion-open/fortran2/trunk fortran2

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.

Have written example, will write up notes - GW.

Modules

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

Libraries

Appendices

Including NetCDF

Have written examples, will write up notes - GW.