|
Peano
|
Create the PNG illustrations of the tutorial 44_localisation.ipynb. More...
Create the PNG illustrations of the tutorial 44_localisation.ipynb.
The script builds the tutorial's setup with the two Euler solvers EulerFV and CoarseEuler, runs it, and writes two pictures into the directory of this script: the density of both solvers over time at the centre of the domain, and the density of both solvers side by side at t=0.1. The implementation of EulerFV is taken from the tutorial's %writefile cell. Call the script from anywhere:
python3 tutorials/exahype2/illustrations/44_localisation.py
All builds and outputs go into a temporary directory (or –work-directory). The diagram 44_localisation.png is not created by this script.