From 4d1cc6cab2f52b0e9c817f94b045a78d19082413 Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Tue, 10 Dec 2024 15:53:02 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20upwind=20discretization=20for=20Sv=C3=A4r?= =?UTF-8?q?d-Kalisch=20equations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/equations/svaerd_kalisch_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/svaerd_kalisch_1d.jl b/src/equations/svaerd_kalisch_1d.jl index 964a509f..bb594838 100644 --- a/src/equations/svaerd_kalisch_1d.jl +++ b/src/equations/svaerd_kalisch_1d.jl @@ -272,7 +272,7 @@ function rhs!(dq, q, t, mesh, equations::SvaerdKalischEquations1D, mul!(v_x, D1_central, v) mul!(eta_x_upwind, D1.plus, eta) @.. tmp1 = alpha_hat * eta_x_upwind - mul!(alpha_eta_x_x, D1_central, tmp1) + mul!(alpha_eta_x_x, D1.minus, tmp1) @.. tmp1 = alpha_hat * alpha_eta_x_x mul!(y_x, D1.minus, tmp1) @.. v_y_x = v * y_x