Skip to content

Commit

Permalink
fix allocations in boundary condition of Euler double Mach elixir (#1685
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ranocha authored Oct 23, 2023
1 parent c2f0095 commit 6daf446
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/p4est_2d_dgsem/elixir_euler_double_mach_amr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ See Section IV c on the paper below for details.
phi = pi / 6
sin_phi, cos_phi = sincos(phi)

rho = 8
rho = 8.0
v1 = 8.25 * cos_phi
v2 = -8.25 * sin_phi
p = 116.5
else
rho = 1.4
v1 = 0
v2 = 0
p = 1
v1 = 0.0
v2 = 0.0
p = 1.0
end

prim = SVector(rho, v1, v2, p)
Expand Down

0 comments on commit 6daf446

Please sign in to comment.