Peano
Loading...
Searching...
No Matches
44_localisation Namespace Reference

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-")
 

Function Documentation

◆ add_plotter()

44_localisation.add_plotter (   solver)

Definition at line 57 of file 44_localisation.py.

Referenced by build_and_run().

Here is the caller graph for this function:

◆ 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().

Here is the call graph for this function:

◆ closest_snapshot()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ euler_implementation()

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().

Here is the caller graph for this function:

◆ plot_comparison()

44_localisation.plot_comparison (   directory)

Definition at line 177 of file 44_localisation.py.

References closest_snapshot(), and tarch.plotter.api.notebook.plot_snapshot().

Here is the call graph for this function:

◆ plot_probe()

44_localisation.plot_probe (   directory)

Definition at line 163 of file 44_localisation.py.

◆ probe()

44_localisation.probe (   directory,
  name,
  point 
)

Time stamps and density of solver name at point.

Definition at line 135 of file 44_localisation.py.

Variable Documentation

◆ args

44_localisation.args = parser.parse_args()

Definition at line 206 of file 44_localisation.py.

◆ default

44_localisation.default

Definition at line 203 of file 44_localisation.py.

◆ DomainSize

list 44_localisation.DomainSize = [0.2, 0.2]

Definition at line 41 of file 44_localisation.py.

◆ help

44_localisation.help

Definition at line 204 of file 44_localisation.py.

◆ Here

44_localisation.Here = os.path.dirname(os.path.abspath(__file__))

Definition at line 28 of file 44_localisation.py.

◆ parser

44_localisation.parser
Initial value:
1= argparse.ArgumentParser(
2 description="Create the PNGs of the tutorial 44_localisation.ipynb"
3 )

Definition at line 198 of file 44_localisation.py.

◆ PatchSize

int 44_localisation.PatchSize = 9

Definition at line 42 of file 44_localisation.py.

◆ PeanoRoot

44_localisation.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", ".."))

Definition at line 29 of file 44_localisation.py.

◆ Solvers

list 44_localisation.Solvers = ["EulerFV", "CoarseEuler"]

Definition at line 43 of file 44_localisation.py.

◆ work_directory

44_localisation.work_directory = args.work_directory or tempfile.mkdtemp(prefix="44_localisation-")

Definition at line 208 of file 44_localisation.py.