November 2020
Intermediate to advanced
416 pages
12h 18m
English
This chapter covers
In this chapter, we’ll implement the minimal working version of the tsunami simulator. For simplicity, we’ll start by simulating the movement of water in space due to background flow, without changing its shape. This problem is sufficiently complex to introduce basic elements of Fortran: numeric data types, declaration, arithmetic expressions and assignment, and control flow. Once we successfully simulate the movement of an object in this chapter, we’ll refactor the code to add other physics processes in chapters 3 and 4, which will ...
Read now
Unlock full access