Peano
Loading...
Searching...
No Matches
44_localisation.py File Reference

Go to the source code of this file.

Namespaces

namespace  44_localisation
namespace  _localisation
 Create the PNG illustrations of the tutorial 44_localisation.ipynb.

Functions

 44_localisation.euler_implementation ()
 Body of the tutorial's cell which writes EulerFV.cpp.
 44_localisation.add_plotter (solver)
 44_localisation.build_and_run (directory)
 Generate, compile and run the tutorial setup within directory.
 44_localisation.probe (directory, name, point)
 Time stamps and density of solver name at point.
 44_localisation.closest_snapshot (file_name, time_stamp)
 44_localisation.plot_probe (directory)
 44_localisation.plot_comparison (directory)

Variables

 44_localisation.Here = os.path.dirname(os.path.abspath(__file__))
 44_localisation.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", ".."))
list 44_localisation.DomainSize = [0.2, 0.2]
int 44_localisation.PatchSize = 9
list 44_localisation.Solvers = ["EulerFV", "CoarseEuler"]
 44_localisation.parser
 44_localisation.default
 44_localisation.help
 44_localisation.args = parser.parse_args()
 44_localisation.work_directory = args.work_directory or tempfile.mkdtemp(prefix="44_localisation-")