A Fortran90 primer for the solution of hyperbolic equations

A simple package can be downloaded here for the solution of the hyperbolic equations. A README file provides simple instructions for the compilation and execution of the code.

The present version offers the solution of the advection and wave equations with any of these methods:

  • FTCS
  • Upwind
  • Lax-Friedrichs
  • Leapfrog
  • Lax-Wendroff
  • Iterative Crank-Nicholson.

The initial data either consists of a

  • Gaussian
  • square wave
  • wave-packet
  • sine-wave.