appendix C. Concluding remarks
This appendix provides a recap and complete code of the tsunami simulator. It also offers ideas on where to go from here, as well as tips for learning more about Fortran.
C.1 Tsunami simulator: The complete code
For closure and as a refresher, let’s review the complete tsunami code that we developed together while working through this book:
-
In chapter 2, we implemented our first working program, which simply moved the prescribed wave, without changing its shape.
-
In chapter 3, we refactored our program from chapter 2 to use a function for finite difference calculation, and a subroutine to initialize the wave shape.
-
In chapter 4, we refactored our program from chapter 3 to define the procedures inside of a ...
Get Modern Fortran now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.