From 7d8313e302255759553534c1f2bebc7fc16a103e Mon Sep 17 00:00:00 2001 From: bennibolm Date: Tue, 30 Jan 2024 10:04:36 +0100 Subject: [PATCH] Add suggested comment --- src/solvers/dgsem_tree/subcell_limiters_2d.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/solvers/dgsem_tree/subcell_limiters_2d.jl b/src/solvers/dgsem_tree/subcell_limiters_2d.jl index e1d45f8608d..3d272359fe4 100644 --- a/src/solvers/dgsem_tree/subcell_limiters_2d.jl +++ b/src/solvers/dgsem_tree/subcell_limiters_2d.jl @@ -37,6 +37,7 @@ function (limiter::SubcellLimiterIDP)(u::AbstractArray{<:Any, 4}, semi, dg::DGSE dt; kwargs...) @unpack alpha = limiter.cache.subcell_limiter_coefficients + # TODO: Do not abuse `reset_du!` but maybe implement a generic `set_zero!` @trixi_timeit timer() "reset alpha" reset_du!(alpha, dg, semi.cache) if limiter.local_minmax