Overview.- Introduction to Problem Solving.- Introduction to Programming Languages.- Introduction to Programming.- Arithmetic.- Arrays 1: Some Fundamentals.- Arrays 2: Further Examples.- Whole Array and Additional Array Features.- Output of Results.- Reading in Data.- Summary of I/O Concepts.- Functions.- Control Structures and Execution Control.- Characters.- Complex.- Logical.- Introduction to Derived Types.- An Introduction to Pointers.- Introduction to Subroutines.- Subroutines: 2.- Modules.- Data structuring in Fortran.- An Introduction to Algorithms and the Big O Notation.- Operator Overloading.- Generic Programming.- Mathematical and Numerical Examples.- Parameterised Derived Types (PDTs) in Fortran.- Introduction to Object Oriented Programming.- Additional Object Oriented Examples.- Introduction to Submodules.- Introduction to Parallel Programming.- MPI - Message Passing Interface.- OpenMP.- Coarray Fortran.- C Interop.- IEEE Arithmetic.- Derived Type IO.- Sorting and Searching.- Handling Missing Data in Calculations.- Converting from Fortran 77.- Graphics Libraries - Simple Dislin Usage.- Abstract Interfaces and Procedure Pointers.- Appendices: A Glossary.- B Attribute Declarations and Specifications.- C Compatibility.-D Intrinsic Functions and Procedures.-E Text Extracts, English, Latin and Coded.- F Formal Syntax G Compiler Options Index.
Ian Chivers and Jane Sleightholme are the joint owners of comp-fortran-90 which is a lively forum for the exchange of technical details of the Fortran language. Ian is the editor of the ACM Fortran Forum, and Jane and Ian have both been involved in the Fortran standardisation process. The authors have been teaching and supporting Fortran and related areas for over 40 years and their latest book reflects the lessons that have been learnt from this.
This fourth Edition presents new examples on submodules, derived type i/o, object oriented programming, abstract interfaces and procedure pointers, C interop, sorting and searching, statistics and converting to more modern versions of Fortran.
Key Features
Highlights the core language features of modern Fortran including data typing, array processing, control structures, functions, subroutines, modules and submodules, user defined types, pointers, operator overloading, generic programming, parallel programming, abstract interfaces, procedure pointers
Pinpoints common problems that occur when programming
Illustrates the use of several compilers
Introduction to Programming with Fortran has been written for the complete beginner with little or no programming background as well as existing Fortran programmers and those with programming experience in other languages
Ian Chivers and Jane Sleightholme are the joint owners of comp-fortran-90 which is a lively forum for the exchange of technical details of the Fortran language. Ian is the editor of the ACM Fortran Forum, and Jane and Ian have both been involved in the Fortran standardisation process.
The authors have been teaching and supporting Fortran and related areas for over 40 years and their latest book reflects the lessons that have been learnt from this.