Peano
Loading...
Searching...
No Matches
_euler Namespace Reference

Create the PNG illustrations of the tutorial 10_euler.ipynb. More...

Detailed Description

Create the PNG illustrations of the tutorial 10_euler.ipynb.

-with-amr

The script builds the tutorial's Euler setup for two volume sizes, runs it, probes the solution at the origin and writes all pictures into the directory of this script. The PDE terms are injected from Python, i.e. we do not need any hand-written C++ file. Call it from anywhere:

 python3 tutorials/exahype2/illustrations/10_euler.py

All builds and outputs go into a temporary directory (or –work-directory).

Create the PNG illustrations of the tutorial 13_euler-with-amr.ipynb

The script builds the tutorial's point explosion on a regular grid, runs it and writes all pictures into the directory of this script. It then builds the setup with the point-wise refinement criterion, runs it on the resulting adaptive mesh, and draws the mesh, the solution, a comparison with the regular mesh, plus the setup's task graph. Finally, it runs the dynamically adaptive setup, which also erases cells while it runs time steps, and draws its mesh adaptation task graph, the number of patches over time and the mesh before and after it changes. Finally, it runs the same dynamically adaptive setup with the gradient-based criterion and compares the density profiles, the meshes and the numbers of patches of the two criteria. The PDE terms are injected from Python, i.e. we do not need any hand-written C++ file. Call it from anywhere:

 python3 tutorials/exahype2/illustrations/13_euler-with-amr.py

Pass –gradient-only to create only the pictures of the gradient section.

All builds and outputs go into a temporary directory (or –work-directory).