Hi there, I was having difficulty following the logic spread between burgers_demos.py, burgers.py and riemann_tools.py, so I took pieces necessary from these files to create a simplified version, for both rarefaction and shock options. The output for each time slice is a simple png file which can be combined into a gif animation using ImageMagick on the command line (available on many platforms).
Hi there, I was having difficulty following the logic spread between burgers_demos.py, burgers.py and riemann_tools.py, so I took pieces necessary from these files to create a simplified version, for both rarefaction and shock options. The output for each time slice is a simple png file which can be combined into a gif animation using ImageMagick on the command line (available on many platforms).