Freshly Printed - allow 8 days lead
Modern Fortran
Style and Usage
This book describes best practices for good style and rigorous usage for all Fortran programmers, from novice to expert.
Norman S. Clerman (Author), Walter Spector (Author)
9780521730525, Cambridge University Press
Paperback, published 5 December 2011
352 pages, 1 b/w illus.
22.6 x 15 x 2.3 cm, 0.46 kg
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.
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.
Subject Areas: Computer programming / software development [UM], Engineering: general [TBC]