Skip to content

Commit

Permalink
fix hydrostatic reconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed May 3, 2024
1 parent d749e81 commit f27ddf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/equations/numerical_fluxes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f27ddf0

Please sign in to comment.