Skip to main content
 

Use modern Fortran

1 min read

Here are some links about using modern Fortran:

  1. "Object Oriented Programming with Fortran 2003", from pgroup.com. They wrote 4 very good tutorial for a comprehensive dive-in into modern Fortran developping, especially focused on OOP programmation
    1. Object Oriented Programming with Fortran 2003 Part 1: Code Reusability
    2. Object Oriented Programming with Fortran 2003 Part 2: Data Polymorphism
    3. Object-Oriented Programming in Fortran 2003 Part 3: Parameterized Derived Types
    4. Object-Oriented Programming in Fortran 2003 Part 4: User-Defined Derived Type Input/Output
    5. and also Fortran Array Attributes: Pointer and Allocatable, Contiguous and Target that explains why you should use 'allocatable' instead of 'pointer' whenever it's possible.
  2. "Fortran Best Practices", a sort of cook-book to prevent bad coding practices in Fortran. http://www.fortran90.org/src/best-practices.html