lim_superbee Function

private pure function lim_superbee(r) result(phi)

Superbee TVD limiter. Least dissipative TVD limiter; may over-sharpen contact discontinuities on smooth problems.

phi(r) = max(0, min(1, 2r), min(2, r))

See Roe (1985).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: r

Return Value real(kind=wp)