6create_release_build =
False
7if (create_release_build):
8 build_mode = peano4.api.output.CompileMode.RELEASE
11 time_in_between_plots = 0.001
12 verbosity = peano4.api.LoggerVerbosity.TEXT
14 build_mode = peano4.api.output.CompileMode.DEBUG
17 time_in_between_plots = 0.001
18 verbosity = peano4.api.LoggerVerbosity.VISUALISATION
22 namespace=[
"benchmarks",
"exahype2",
"euler",
"smooth_convergence_test"],
23 project_name=
"smooth-convergence-test",
25 executable=
"smooth-convergence-test",
28solver_name =
"EulerFVSmooth"
30auxiliary_variables = 0
43thesolver.add_pde_term(exahype2.api.DirichletBoundaryConditions(stateless=
False,))
47 thesolver, volume_size=volume_size
50 thesolver, first_plot_time_stamp=0.0, time_in_between_plots=time_in_between_plots
52project.add_solver(thesolver)
58project.compiler = peano4.api.taskgraph.compiler.CellTaskProducerConsumer.translate_with_fusion
61project.set_global_simulation_parameters(
62 dimensions=dimensions,
65 min_end_time=end_time,
66 max_end_time=end_time,
67 periodic_BC=[
False,
False,
False],
71project.set_load_balancing(
"toolbox::loadbalancing::strategies::SpreadOutOnceGridStagnates",
"new ::exahype2::LoadBalancingConfiguration()")
72project.set_Peano4_installation(
"../../../../", build_mode)
73peano4_project = project.generate_Peano4_project(verbosity=verbosity)
74peano4_project.generate()
75peano4_project.build(make_clean_first=
True)
The conservative flux F(Q) of a hyperbolic PDE.
Point-wise initial condition: given the physical position of a single degree of freedom,...
The maximum absolute eigenvalue of the flux Jacobian in a given direction, i.e.
Abstract base class for all ExaHyPE 2 solvers.
Plotting counterpart to RusanovWithExplicitEuler: maps the patch data of a Finite Volume scheme with ...
Finite Volumes with a Rusanov Riemann solver and optimistic explicit Euler time stepping,...
Setup phase counterpart to RusanovWithExplicitEuler: sets the initial condition for a Finite Volume s...