Skip to content

Commit

Permalink
Update src/solvers/dgsem_tree/finite_volume_O2.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Andrés Rueda-Ramírez <aruedara@uni-koeln.de>
  • Loading branch information
DanielDoehring and amrueda authored Oct 7, 2024
1 parent 699d7e5 commit 0773331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/dgsem_tree/finite_volume_O2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ For reference, see for instance Eq. (6.29) in
[DOI: 10.1017/CBO9780511791253](https://doi.org/10.1017/CBO9780511791253)
"""
@inline function monotonized_central(sl, sr)
# CARE: MC assumes equidistant grid in 0.5 * abs(sl + sr)!
# CARE: MC assumes equidistant grid in 0.5 * (sl + sr)!
# Use recursive property of minmod function
s = minmod(0.5 * (sl + sr), minmod(2 * sl, 2 * sr))

Expand Down

0 comments on commit 0773331

Please sign in to comment.