Modern Fortran
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.
- Provides a best practices guide for the everyday user of the language while focusing on the intricate features of the language
- Includes discussion of the new features of Fortran 2003 and Fortran 2008, the two latest versions of the language standard
- Sections devoted to parallel processing including OpenMP, MPI and coarrays
Product details
December 2011Paperback
9780521730525
352 pages
226 × 150 × 23 mm
0.46kg
1 b/w illus.
Available
Table of 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.