-with-optimistic-explicit-euler-illustrations
Generate the illustrations of exahype2.api.fv.RusanovWithOptimisticExplicitEuler
Run from the repository root via
PYTHONPATH=src:python python3 src/exahype2/api/fv/rusanov-with-optimistic-explicit-euler-illustrations.py
The script writes two PNGs next to it, which are referenced from the documentation of RusanovWithOptimisticExplicitEuler:
- rusanov-with-optimistic-explicit-euler-volume-classes.png draws the reconstructed 2d patch of a single cell, i.e. a 10x10 patch with a halo of one, and colours its volumes by class: halo, shell and patch interior.
- rusanov-with-optimistic-explicit-euler-time-step-task-graph.png shows the time stepping task graph as drawn by peano4.api.taskgraph.Graph.visualise(). The script constructs it from the actual numerical scheme for a solver with a flux and a maximum eigenvalue, so the picture always matches the code. The kernels this requires are generated into a temporary directory.