Skip to content

A serial version of tsunami implemented during my Twitch stream

License

Notifications You must be signed in to change notification settings

modern-fortran/twitch-stream-tsunami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitch-stream-tsunami

A serial version of tsunami implemented during my Twitch stream on June 11, 2020.

This is cleaned-up code with comments and with few bug fixes that I didn't catch during the stream. Enjoy!

Dependencies

  • gfortran
  • fpm
  • Python (for plotting)
  • ffmpeg (for animating images)

Get the code

git clone https://github.com/modern-fortran/twitch-stream-tsunami
cd twitch-stream-tsunami

Install fpm

Follow the directions from here.

Set up Python environment (for plotting)

python3 -m venv venv
source venv/bin/activate
pip install -U pip
pip install -r requirements.txt

Build the code

fpm build

Run the code

fpm run

Plot and animate

Run this script to build and run the simulator, plot, and finally animate in an mp4 file:

./run.sh

About

A serial version of tsunami implemented during my Twitch stream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published