Peano
Loading...
Searching...
No Matches
11_tsunami.py File Reference

Go to the source code of this file.

Namespaces

namespace  11_tsunami
 
namespace  _tsunami
 Create the PNG illustrations of the tutorial 11_tsunami.ipynb.
 

Functions

 11_tsunami.build_and_run (directory, init=InitPointWisely, with_logo=False, first_unknown="h", flux=Flux, max_eigenvalue=MaxEigenvalue, nonconservative_product=None)
 Generate, compile and run the tutorial setup within directory.
 
 11_tsunami.plot_snapshots (directory, prefix, label="water height h", with_early=False)
 First unknown at the start, half way through and at the end.
 
 11_tsunami.plot_sea_floor (directory, prefix)
 Sea floor b, which does not change over time.
 

Variables

 11_tsunami.Here = os.path.dirname(os.path.abspath(__file__))
 
 11_tsunami.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", ".."))
 
str 11_tsunami.Flux
 
str 11_tsunami.MaxEigenvalue
 
str 11_tsunami.InitPointWisely
 
str 11_tsunami.InitPointWiselyWithLogo
 
str 11_tsunami.FluxEta
 
str 11_tsunami.MaxEigenvalueEta
 
str 11_tsunami.NonconservativeProductEta
 
str 11_tsunami.InitPointWiselyEta
 
 11_tsunami.Bathymetry = os.path.join(Here, "..", "bathymetry")
 
str 11_tsunami.PatchFile = "solution-SWE.peano-patch-file"
 
 11_tsunami.parser
 
 11_tsunami.default
 
 11_tsunami.help
 
 11_tsunami.args = parser.parse_args()
 
 11_tsunami.work_directory = args.work_directory or tempfile.mkdtemp(prefix="11_tsunami-")
 
 11_tsunami.flat = os.path.join(work_directory, "flat")
 
 11_tsunami.bathymetry = os.path.join(work_directory, "bathymetry")
 
 11_tsunami.with_logo
 
 11_tsunami.ncp = os.path.join(work_directory, "ncp")
 
 11_tsunami.first_unknown
 
 11_tsunami.flux
 
 11_tsunami.max_eigenvalue
 
 11_tsunami.nonconservative_product
 
 11_tsunami.label
 
 11_tsunami.with_early