Skip to content

Commit

Permalink
modified: src/Operators/finitedifference.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaysridhar committed Nov 15, 2024
1 parent 620ee65 commit 748e821
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Operators/finitedifference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1804,21 +1804,21 @@ Dynamics, 2ⁿᵈ ed.) is the antidiffusive flux given by
where h and l superscripts represent the high and lower order (monotone)
fluxes respectively. The effect of the TVD limiters is then to
adjust the flux
F_{j+1/2} = F^{1}_{j+1/2} + C_{j+1/2}(F^{h}_{j+1/2} - F^{l}_{j+1/2})
F_{j+1/2} = F^{l}_{j+1/2} + C_{j+1/2}(F^{h}_{j+1/2} - F^{l}_{j+1/2})
where C_{j+1/2} is the multiplicative limiter which is a function of
the ratio of the slope of the solution across a cell interface.
C=1 recovers the high order flux.
C=0 recovers the low order flux.
Supported limiter types are
(1) RZeroLimiter (returns low order flux)
(2) RHalfLimiter (the flux multiplier == 1/2)
(3) RMaxLimiter (returns high order flux)
(4) MinModLimiter
(5) KorenLimiter
(6) SuperbeeLimiter
(7) MonotonizedCentralLimiter
(8) VanLeerLimiter
- RZeroLimiter (returns low order flux)
- RHalfLimiter (flux multiplier == 1/2)
- RMaxLimiter (returns high order flux)
- MinModLimiter
- KorenLimiter
- SuperbeeLimiter
- MonotonizedCentralLimiter
- VanLeerLimiter
"""
abstract type AbstractTVDSlopeLimiter end
struct RZeroLimiter <: AbstractTVDSlopeLimiter end
Expand Down

0 comments on commit 748e821

Please sign in to comment.