Skip to content

Commit

Permalink
Fix setup in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed May 10, 2024
1 parent 0c15c7e commit e0787ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/literate/src/files/subcell_shock_capturing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ volume_flux = flux_ranocha
# Here, the simulation should contain local limiting for the density using lower and upper bounds.
basis = LobattoLegendreBasis(3)
limiter_idp = SubcellLimiterIDP(equations, basis;
local_twosided_variables_cons = ["rho"])
local_twosided_variables_cons = ["rho"],
bar_states = false)

# The initialized limiter is passed to `VolumeIntegralSubcellLimiting` in addition to the volume
# fluxes of the low-order and high-order scheme.
Expand Down

0 comments on commit e0787ff

Please sign in to comment.