|
Peano
|
Go to the source code of this file.
Namespaces | |
| namespace | 45_coupling |
| namespace | _coupling |
| Create the PNG illustrations of the tutorial 45_coupling-sharing-auxiliary-variables.ipynb. | |
Functions | |
| 45_coupling.build_and_run (directory) | |
| Generate, compile and run the coupled setup within directory. | |
| 45_coupling.read_field (file_name, snapshot, unknown=0) | |
| One unknown of one snapshot as array field[y,x] over the whole domain. | |
| 45_coupling.read_time_series (file_name, unknown=0) | |
| Time stamps and an array series[snapshot,y,x] of one unknown. | |
| 45_coupling.arrival_times (times, series, threshold) | |
| First time at which the surface elevation exceeds the threshold. | |
| 45_coupling.plot_initial_conditions (first_file, second_file, prefix) | |
| 45_coupling.plot_arrival_difference (first_file, second_file, prefix, threshold=0.002) | |
Variables | |
| 45_coupling.Here = os.path.dirname(os.path.abspath(__file__)) | |
| 45_coupling.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..")) | |
| str | 45_coupling.Flux |
| str | 45_coupling.MaxEigenvalue |
| str | 45_coupling.NonconservativeProduct |
| str | 45_coupling.InitialSeaFloor |
| str | 45_coupling.InitialWater |
| 45_coupling.Bathymetry = os.path.join(Here, "..", "bathymetry") | |
| float | 45_coupling.CentreOfFirstTsunami = 0.0 |
| float | 45_coupling.CentreOfSecondTsunami = 0.1 |
| 45_coupling.parser | |
| 45_coupling.default | |
| 45_coupling.help | |
| 45_coupling.args = parser.parse_args() | |
| 45_coupling.work_directory = args.work_directory or tempfile.mkdtemp(prefix="45_coupling-") | |
| 45_coupling.first_file = os.path.join(work_directory, "solution-TsunamiA.peano-patch-file") | |
| 45_coupling.second_file = os.path.join(work_directory, "solution-TsunamiB.peano-patch-file") | |