Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Jan 31, 2024
1 parent c2373b9 commit dcaef58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/callbacks_stage/subcell_bounds_check_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ end
# \bar{phi}^{min} <= \bar{phi}^{Lim} / \bar{rho}^{Lim} <= \bar{phi}^{max}
# - pressure (p):
# \bar{rho}^{Lim} \bar{rho * E}^{Lim} >= |\bar{rho * v}^{Lim}|^2 / 2
var_limited = zero(eltype(mcl_bounds_delta_local_threaded[Threads.threadid()]))
error_pressure = zero(eltype(mcl_bounds_delta_local_threaded[Threads.threadid()]))
var_limited = zero(eltype(mcl_bounds_delta_local))
error_pressure = zero(eltype(mcl_bounds_delta_local))
# -x
rho_limited = bar_states1[1, i, j, element] -
antidiffusive_flux1_L[1, i, j, element] /
Expand Down Expand Up @@ -391,8 +391,8 @@ end
# \bar{rho*phi}^{min} <= \bar{rho*phi}^{Lim} <= \bar{rho*phi}^{max}
# - pressure (p):
# \bar{rho}^{Lim} \bar{rho * E}^{Lim} >= |\bar{rho * v}^{Lim}|^2 / 2
var_limited = zero(eltype(mcl_bounds_delta_local_threaded[Threads.threadid()]))
error_pressure = zero(eltype(mcl_bounds_delta_local_threaded[Threads.threadid()]))
var_limited = zero(eltype(mcl_bounds_delta_local))
error_pressure = zero(eltype(mcl_bounds_delta_local))
# -x
rho_limited = bar_states1[1, i, j, element] -
antidiffusive_flux1_L[1, i, j, element] /
Expand Down

0 comments on commit dcaef58

Please sign in to comment.