Skip to content

Commit

Permalink
fix initial condition for manufactured solution (Svärd-Kalisch equati…
Browse files Browse the repository at this point in the history
…ons)
  • Loading branch information
JoshuaLampert committed Feb 25, 2024
1 parent df4cc36 commit d78ffa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/equations/svaerd_kalisch_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ function initial_condition_manufactured(x, t,
mesh)
eta = exp(t) * cospi(2 * (x - 2 * t))
v = exp(t / 2) * sinpi(2 * (x - t / 2))
D = 5 + 2 * cospi(2 * x)
b = -5 - 2 * cospi(2 * x)
D = equations.eta0 - b
return SVector(eta, v, D)
end

Expand Down

0 comments on commit d78ffa4

Please sign in to comment.