Skip to content

Commit

Permalink
Merge branch 'subcell-limiting' into subcell-limiting-renaming-MCL
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Nov 6, 2023
2 parents 33d82ec + 7604822 commit d45bcbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function initial_condition_blast_wave(x, t, equations::CompressibleEulerEquation
rho = r > 0.5 ? 0.1 : 0.2691 # rho = r > 0.5 ? 1 : 1.1691
v1 = r > 0.5 ? 0.0 : 0.1882 * cos_phi
v2 = r > 0.5 ? 0.0 : 0.1882 * sin_phi
p = r > 0.5 ? 1.0E-1 : 1.245 # p = r > 0.5 ? 1.0E-3 : 1.245
p = r > 0.5 ? 1.0E-1 : 1.245 # p = r > 0.5 ? 1.0E-3 : 1.245

return prim2cons(SVector(rho, v1, v2, p), equations)
end
Expand Down
25 changes: 0 additions & 25 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -611,31 +611,6 @@ end
end
end

@trixi_testset "elixir_euler_sedov_blast_wave.jl (HLLE)" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_sedov_blast_wave.jl"),
l2=[
0.35267161504176747,
0.17218309138797958,
0.17218307467125854,
0.6236143054619037,
],
linf=[
2.77484045816607,
1.8281111268370718,
1.8281110470490887,
6.24263735888126,
],
tspan=(0.0, 0.5),
surface_flux=flux_hlle)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
end
end

@trixi_testset "elixir_euler_sedov_blast_wave_neuralnetwork_perssonperaire.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_sedov_blast_wave_neuralnetwork_perssonperaire.jl"),
Expand Down

0 comments on commit d45bcbf

Please sign in to comment.