Skip to content

Commit

Permalink
Last stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Feb 19, 2024
1 parent 5f93fa1 commit 25a5374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/callbacks_stage/subcell_bounds_check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ end
for (variable, operator) in limiter.local_onesided_variables_nonlinear
variable_string = string(variable)
operator_string = string(operator)
println("$(variable_string):")
println("$variable_string:")
println("- $operator_string bound: ",
idp_bounds_delta_global[Symbol(variable_string, "_",
operator_string)])
Expand Down
8 changes: 4 additions & 4 deletions src/solvers/dgsem_tree/subcell_limiters_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function (limiter::SubcellLimiterIDP)(u::AbstractArray{<:Any, 4}, semi, dg::DGSE
@trixi_timeit timer() "reset alpha" reset_du!(alpha, dg, semi.cache)

if limiter.local_twosided
@trixi_timeit timer() "local min/max" idp_local_twosided!(alpha, limiter,
u, t, dt, semi)
@trixi_timeit timer() "local twosided" idp_local_twosided!(alpha, limiter,
u, t, dt, semi)
end
if limiter.positivity
@trixi_timeit timer() "positivity" idp_positivity!(alpha, limiter, u, dt, semi)
Expand Down Expand Up @@ -279,7 +279,7 @@ end
end

###############################################################################
# Local minimum/maximum limiting
# Local two-sided limiting for conservative variables

@inline function idp_local_twosided!(alpha, limiter, u, t, dt, semi)
for variable in limiter.local_twosided_variables_cons
Expand Down Expand Up @@ -351,7 +351,7 @@ end
end

##############################################################################
# Local minimum limiting of specific entropy
# Local one-sided limiting of nonlinear variables

@inline function idp_local_onesided!(alpha, limiter, u, t, dt, semi)
for (variable, operator) in limiter.local_onesided_variables_nonlinear
Expand Down

0 comments on commit 25a5374

Please sign in to comment.