Fortran 90: A Conversion Course For Fortran 77 Programmers

E-Book Overview

These student notes were developed using the Manchester Computing Centre Fortran90 course, which was compiled by J M Brooke, G S Noland, and M A Pettipher as abasis.

E-Book Content

Fortran 90 A Conversion Course for Fortran 77 Programmers Student Notes S Ramsden, F Lin Manchester and North HPC T&EC M A Pettipher, G S Noland, J M Brooke Manchester Computing Centre, University of Manchester Edition 3.0 July 1995 Acknowledgements These student notes were developed using the Manchester Computing Centre Fortran 90 course, which was compiled by J M Brooke, G S Noland, and M A Pettipher as a basis. Useful comments were also provided by the following: T L Freeman, J Gajjar and A J Grant (The University of Manchester), and A Marshall and J S Morgan (The University of Liverpool). Michael Hennecke, University of Kahlsruhe, Germany, provided comprehensive comments which were incorporated in edition 3.0 of the materials. Manchester and North HPC T&EC i Fortran 90 ii Fortran 90 Student Notes Table of Contents 1 1 1 1 2 3 3 Introduction History Objectives Language Evolution New Features Organisation Coding Convention 5 5 6 6 7 7 10 13 17 Sources, Types and Control Structures Source Form Program and Subprogram Names Specifications Strong Typing The Concept of KIND Derived Types Control Statements Exercises 19 19 20 28 31 35 36 39 Procedures and Modules Program Units Procedures Modules Overloading Scope Program Structure Exercises 41 41 43 45 45 46 48 48 48 49 Array Processing Terminology and Specifications Whole Array Operations Elemental Intrinsic Procedures WHERE Statement Array Sections Array Assignment Recursion Element Location Versus Subscript Zero Sized Arrays Manchester and North HPC T&EC iii For
You might also like

Introduction To Algorithms
Authors: Thomas H. Cormen , Charles E. Leiserson , Ronald L. Rivest , Clifford Stein    204    0


Algorithms And Complexity
Authors: Herbert S. Wilf    131    0


Scientific Visualization: The Visual Extraction Of Knowledge From Data
Authors: Georges-Pierre Bonneau , Thomas Ertl , Gregory M. Nielson    152    0


Digital Image Processing (preview)
Authors: Rafael C. Gonzalez , Richard E. Woods    155    0


Digital Image Processing
Authors: Bernd Jähne    141    0


Essential Maple 7: An Introduction For Scientific Programmers
Authors: Robert M. Corless    157    0


Tex For The Impatient
Authors: Abrahams P.W. , Hargreaves K.A. , Berry K.    161    0


Gentle Introduction To Tex
Authors: Doob.    172    0


Tex By Topic: A Texnician's Reference
Authors: Victor Eijkhout    127    0


Adobe Golive 6.0
Authors: Adobe Creative Team    129    0