.true. for every wired PV face-interpolation scheme: PV_ADV_CENTERED
+ PV_ADV_WENO3/WENO5/WENO7. weno5/weno7 additionally require a
wider halo (pv_adv_required_nghost), checked separately at configure.
PV_ADV_INVALID returns .false. (fail-loud on a typo).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code |
pure function pv_adv_scheme_is_implemented(code) result(ok) !! `.true.` for every wired PV face-interpolation scheme: `PV_ADV_CENTERED` !! + `PV_ADV_WENO3`/`WENO5`/`WENO7`. weno5/weno7 additionally require a !! wider halo (`pv_adv_required_nghost`), checked separately at configure. !! `PV_ADV_INVALID` returns `.false.` (fail-loud on a typo). integer, intent(in) :: code logical :: ok ok = (code == PV_ADV_CENTERED) .or. (code == PV_ADV_WENO3) .or. & (code == PV_ADV_WENO5) .or. (code == PV_ADV_WENO7) end function pv_adv_scheme_is_implemented