Clicky

Fortran Wiki
Modern Fortran - Style and Usage

By Norman S. Clerman, Walter Spector (2011)
Cambridge University Press

Cover

Buy on Amazon

Description

Fortran is one of the oldest high-level languages and remains the premier language for writing code for science and engineering applications. This book is for anyone who uses Fortran, from the novice learner to the advanced expert. It describes best practices for programmers, scientists, engineers, computer scientists and researchers who want to apply good style and incorporate rigorous usage in their own Fortran code or to establish guidelines for a team project. The presentation concentrates primarily on the characteristics of Fortran 2003, while also describing methods in Fortran 90/95 and valuable new features in Fortran 2008. The authors draw on more than a half century of experience writing production Fortran code to present clear succinct guidelines on formatting, naming, documenting, programming and packaging conventions and various programming paradigms such as parallel processing (including OpenMP, MPI and coarrays), OOP, generic programming and C language interoperability.

Contents

  1. Introduction
  2. General principles
  3. Formatting conventions
  4. Naming conventions
  5. Documentation conventions
  6. Programming principles
  7. Programming conventions
  8. Input and output
  9. Packaging conventions
  10. Generic programming
  11. Object orientation
  12. Parallel processing
  13. Numerics and floating point
  14. C interoperability
  15. Updating old programs

Appendix A. Source code.

Appendix B. Rule list.

category: books