Clicky

Fortran Wiki
Modern Fortran in Practice

By Arjen Markus (2012)
Cambridge University Press

Cover

Buy on Amazon

Overview

  • Presents applications of the modern features and discusses alternative implementations for Fortran
  • Analyses implementations of several (numerical) algorithms to expose easily made implicit assumptions
  • Demonstrates that readers can explore different styles of programming
  • Shows how Fortran can be used for graphical presentation but also for Internet applications

Description

From its earliest days, the Fortran programming language has been designed with computing efficiency in mind. The latest standard, Fortran 2008, incorporates a host of modern features, including object-orientation, array operations, user-defined types, and provisions for parallel computing. This tutorial guide shows Fortran programmers how to apply these features in twenty-first-century style: modular, concise, object-oriented, and resource-efficient, using multiple processors. It offers practical real-world examples of interfacing to C, memory management, graphics and GUIs, and parallel computing using MPI, OpenMP, and coarrays. The author also analyzes several numerical algorithms and their implementations and illustrates the use of several open source libraries. Full source code for the examples is available on the book’s website.

Contents

  1. Introduction to modern Fortran
  2. Array-valued functions
  3. Mathematical abstractions
  4. Memory management
  5. An interface problem
  6. Interfacing to C: SQLite as an example
  7. Graphics, GUIs, and the internet
  8. Unit testing
  9. Code reviews
  10. Robust implementation of several simple algorithms
  11. Object-oriented programming
  12. Parallel programming

Appendix A. Tools for development and maintenance.

Appendix B. Caveats.

category: books