lim_minmod Function

private pure function lim_minmod(r) result(phi)

Minmod TVD limiter. Most dissipative of the standard limiters; guaranteed TVD for any CFL within the stability limit.

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

See Roe (1986), Sweby (1984).

Arguments

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

Return Value real(kind=wp)