Skip to content

Commit

Permalink
Double precision variables in initial condition
Browse files Browse the repository at this point in the history
  • Loading branch information
amrueda committed Dec 18, 2024
1 parent 02aca9b commit 0971c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tree_2d_dgsem/elixir_mhdmultiion_collisions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ equations = IdealGlmMhdMultiIonEquations2D(gammas = (5 / 3, 5 / 3),
# Frictional slowing of an ionized carbon fluid with respect to another background carbon fluid in motion
function initial_condition_slow_down(x, t, equations::IdealGlmMhdMultiIonEquations2D)
v11 = 0.65508770000000
v21 = 0
v21 = 0.0
v2 = v3 = 0.0
B1 = B2 = B3 = 0.0
rho1 = 0.1
Expand All @@ -72,7 +72,7 @@ function initial_condition_slow_down(x, t, equations::IdealGlmMhdMultiIonEquatio
p1 = 0.00040170535986
p2 = 0.00401705359856

return prim2cons(SVector(B1, B2, B3, rho1, v11, v2, v3, p1, rho2, v21, v2, v3, p2, 0),
return prim2cons(SVector(B1, B2, B3, rho1, v11, v2, v3, p1, rho2, v21, v2, v3, p2, 0.0),
equations)
end

Expand Down

0 comments on commit 0971c19

Please sign in to comment.