|
Peano
|
Functions | |
| euler_implementation (tutorial) | |
| Body of the tutorial's cell which writes EulerFV.cpp. | |
| build_and_run (directory, peano_root, tutorial="30_domain-decomposition", namespace="domaindecomposition", load_balancer="toolbox::loadbalancing::strategies::SpreadOutOnceGridStagnates", load_balancer_arguments="new ::exahype2::LoadBalancingConfiguration()") | |
| Generate, compile and run the Euler setup within directory. | |
| render_subdomains (directory, pvbatch, picture=SubdomainsPicture) | |
| Convert the output into VTU and let ParaView render the subdomains into picture. | |
| render_workflow () | |
Variables | |
| Here = os.path.dirname(os.path.abspath(__file__)) | |
| PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..")) | |
| int | NumberOfThreads = 4 |
| SubdomainsPicture = os.path.join(Here, "30_domain-decomposition-subdomains.png") | |
| WorkflowDiagram = os.path.join(Here, "30_domain-decomposition-workflow") | |
| str | ParaViewScript |
| parser | |
| default | |
| help | |
| args = parser.parse_args() | |
| work_directory = args.work_directory or tempfile.mkdtemp(prefix="30_domain-decomposition-") | |
| 30_domain-decomposition.build_and_run | ( | directory, | |
| peano_root, | |||
tutorial = "30_domain-decomposition", |
|||
namespace = "domaindecomposition", |
|||
load_balancer = "toolbox::loadbalancing::strategies::SpreadOutOnceGridStagnates", |
|||
load_balancer_arguments = "new ::exahype2::LoadBalancingConfiguration()" |
|||
| ) |
Generate, compile and run the Euler setup within directory.
The defaults are the setup of 30_domain-decomposition.ipynb. Other tutorials which build upon this setup pass in their own name, namespace and load balancing.
Definition at line 91 of file 30_domain-decomposition.py.
References euler_implementation().

| 30_domain-decomposition.euler_implementation | ( | tutorial | ) |
Body of the tutorial's cell which writes EulerFV.cpp.
Definition at line 80 of file 30_domain-decomposition.py.
Referenced by build_and_run().

| 30_domain-decomposition.render_subdomains | ( | directory, | |
| pvbatch, | |||
picture = SubdomainsPicture |
|||
| ) |
Convert the output into VTU and let ParaView render the subdomains into picture.
Definition at line 152 of file 30_domain-decomposition.py.
| 30_domain-decomposition.render_workflow | ( | ) |
Definition at line 186 of file 30_domain-decomposition.py.
| 30_domain-decomposition.args = parser.parse_args() |
Definition at line 208 of file 30_domain-decomposition.py.
| 30_domain-decomposition.default |
Definition at line 199 of file 30_domain-decomposition.py.
| 30_domain-decomposition.help |
Definition at line 200 of file 30_domain-decomposition.py.
| 30_domain-decomposition.Here = os.path.dirname(os.path.abspath(__file__)) |
Definition at line 27 of file 30_domain-decomposition.py.
| int 30_domain-decomposition.NumberOfThreads = 4 |
Definition at line 34 of file 30_domain-decomposition.py.
| str 30_domain-decomposition.ParaViewScript |
Definition at line 40 of file 30_domain-decomposition.py.
| 30_domain-decomposition.parser |
Definition at line 194 of file 30_domain-decomposition.py.
| 30_domain-decomposition.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..")) |
Definition at line 28 of file 30_domain-decomposition.py.
| 30_domain-decomposition.SubdomainsPicture = os.path.join(Here, "30_domain-decomposition-subdomains.png") |
Definition at line 35 of file 30_domain-decomposition.py.
| 30_domain-decomposition.work_directory = args.work_directory or tempfile.mkdtemp(prefix="30_domain-decomposition-") |
Definition at line 211 of file 30_domain-decomposition.py.
| 30_domain-decomposition.WorkflowDiagram = os.path.join(Here, "30_domain-decomposition-workflow") |
Definition at line 36 of file 30_domain-decomposition.py.