From f27ddf01b41cc133ccb807f2a970e29d78d1d702 Mon Sep 17 00:00:00 2001 From: patrickersing Date: Fri, 3 May 2024 19:24:33 +0200 Subject: [PATCH] fix hydrostatic reconstruction --- src/equations/numerical_fluxes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equations/numerical_fluxes.jl b/src/equations/numerical_fluxes.jl index 442ded5..1d282fa 100644 --- a/src/equations/numerical_fluxes.jl +++ b/src/equations/numerical_fluxes.jl @@ -36,13 +36,13 @@ const flux_hll_chen_noelle = FluxHLL(min_max_speed_chen_noelle) normal_direction_ll, normal_direction_average, equations::Trixi.AbstractEquations) - @unpack nonconservative_flux, hydrostatic_reconstruction = numflux + @unpack numerical_flux, hydrostatic_reconstruction = numflux # Create the reconstructed left/right solution states in conservative form u_ll_star, u_rr_star = hydrostatic_reconstruction(u_ll, u_rr, equations) # Use the reconstructed states to compute the nonconservative surface flux - return nonconservative_flux(u_ll_star, u_rr_star, normal_direction_ll, + return numerical_flux(u_ll_star, u_rr_star, normal_direction_ll, normal_direction_average, equations) end