28 logical,
parameter,
public :: af_limiter_symmetric(af_num_limiters) = &
29 [.true., .true., .false., .true., .true., .true., .true.]
41 elemental function af_limiter_apply(a, b, limiter)
result(slope)
42 real(dp),
intent(in) :: a
43 real(dp),
intent(in) :: b
44 integer,
intent(in) :: limiter
48 case (af_limiter_none_t)
49 slope = 0.5_dp * (a + b)
50 case (af_limiter_vanleer_t)
51 slope = af_limiter_vanleer(a, b)
52 case (af_limiter_koren_t)
53 slope = af_limiter_koren(a, b)
54 case (af_limiter_minmod_t)
55 slope = af_limiter_minmod(a, b)
56 case (af_limiter_mc_t)
57 slope = af_limiter_mc(a, b)
58 case (af_limiter_gminmod43_t)
59 slope = af_limiter_gminmod43(a, b)
60 case (af_limiter_zero_t)
64 slope = af_limiter_vanleer(a, b)