Skip to content

Commit

Permalink
Add unintentionally removed lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Nov 3, 2023
1 parent 9897ead commit 1c845f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/callbacks_stage/subcell_bounds_check_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
end
if positivity
for v in limiter.positivity_variables_cons
if v in limiter.local_minmax_variables_cons
continue
end
key = Symbol(string(v), "_min")
deviation = idp_bounds_delta[key]
for element in eachelement(solver, cache), j in eachnode(solver),
Expand Down Expand Up @@ -102,6 +105,9 @@
end
if positivity
for v in limiter.positivity_variables_cons
if v in limiter.local_minmax_variables_cons
continue
end
print(f, ", ", idp_bounds_delta[Symbol(string(v), "_min")][1])
end
for variable in limiter.positivity_variables_nonlinear
Expand Down

0 comments on commit 1c845f6

Please sign in to comment.