-solver-steps-illustrations
Create the illustrations of the page "Manipulate an existing solver's steps"
Run from anywhere via
python3 documentation/exahype2/programmers-guide/manipulate-solver-steps-illustrations.py
The script writes two PNGs next to it:
- manipulate-solver-steps-rusanov-original.png: the time stepping task graph of exahype2.api.fv.RusanovWithExplicitEuler as the scheme builds it;
- manipulate-solver-steps-rusanov-with-step.png: the same graph built by the subclass RusanovWithPostprocessing, which inserts one step after the task carrying exahype2.api.Solver.SolutionUpdateTaskTag. The subclass is the example of the page.
Both graphs are constructed from the actual numerical scheme, so the pictures always match the code. The kernels this requires are generated into a temporary directory.