|
Peano
|
Functions | |
| euler_implementation () | |
| Body of the tutorial's cell which writes EulerFV.cpp. | |
| add_plotter (solver) | |
| build_and_run (directory) | |
| Generate, compile and run the tutorial setup within directory. | |
| probe (directory, name, point) | |
| Time stamps and density of solver name at point. | |
| closest_snapshot (file_name, time_stamp) | |
| plot_probe (directory) | |
| plot_comparison (directory) | |
Variables | |
| Here = os.path.dirname(os.path.abspath(__file__)) | |
| PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..")) | |
| list | DomainSize = [0.2, 0.2] |
| int | PatchSize = 9 |
| list | Solvers = ["EulerFV", "CoarseEuler"] |
| parser | |
| default | |
| help | |
| args = parser.parse_args() | |
| work_directory = args.work_directory or tempfile.mkdtemp(prefix="44_localisation-") | |
| 44_localisation.add_plotter | ( | solver | ) |
Definition at line 57 of file 44_localisation.py.
Referenced by build_and_run().

| 44_localisation.build_and_run | ( | directory | ) |
Generate, compile and run the tutorial setup within directory.
Definition at line 63 of file 44_localisation.py.
References add_plotter(), and euler_implementation().

| 44_localisation.closest_snapshot | ( | file_name, | |
| time_stamp | |||
| ) |
Definition at line 158 of file 44_localisation.py.
References tarch.plotter.api.notebook.read_snapshots().
Referenced by plot_comparison().


| 44_localisation.euler_implementation | ( | ) |
Body of the tutorial's cell which writes EulerFV.cpp.
Definition at line 46 of file 44_localisation.py.
Referenced by build_and_run().

| 44_localisation.plot_comparison | ( | directory | ) |
Definition at line 177 of file 44_localisation.py.
References closest_snapshot(), and tarch.plotter.api.notebook.plot_snapshot().

| 44_localisation.plot_probe | ( | directory | ) |
Definition at line 163 of file 44_localisation.py.
| 44_localisation.probe | ( | directory, | |
| name, | |||
| point | |||
| ) |
Time stamps and density of solver name at point.
Definition at line 135 of file 44_localisation.py.
| 44_localisation.args = parser.parse_args() |
Definition at line 206 of file 44_localisation.py.
| 44_localisation.default |
Definition at line 203 of file 44_localisation.py.
| list 44_localisation.DomainSize = [0.2, 0.2] |
Definition at line 41 of file 44_localisation.py.
| 44_localisation.help |
Definition at line 204 of file 44_localisation.py.
| 44_localisation.Here = os.path.dirname(os.path.abspath(__file__)) |
Definition at line 28 of file 44_localisation.py.
| 44_localisation.parser |
Definition at line 198 of file 44_localisation.py.
| int 44_localisation.PatchSize = 9 |
Definition at line 42 of file 44_localisation.py.
| 44_localisation.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..")) |
Definition at line 29 of file 44_localisation.py.
| list 44_localisation.Solvers = ["EulerFV", "CoarseEuler"] |
Definition at line 43 of file 44_localisation.py.
| 44_localisation.work_directory = args.work_directory or tempfile.mkdtemp(prefix="44_localisation-") |
Definition at line 208 of file 44_localisation.py.