November 2020
Intermediate to advanced
416 pages
12h 18m
English
This part covers the core elements of Fortran: procedures, modules, arrays, and I/O.
In chapter 3, you’ll learn the most important things to know about functions and subroutines (collectively called procedures). They’ll allow you to abstract away any piece of code that you need to run many times. Functions and subroutines are fundamental building blocks that will allow you to write reusable, composable, and complex (but not complicated) code. You’ll apply this knowledge to refactor the tsunami simulator we started in chapter 2.
In chapter 4, you’ll learn about modules and how to use them to organize your data and procedures in reusable and portable components.
Chapter 5 covers arrays, the fundamental Fortran ...
Read now
Unlock full access