.true. iff the closure code has a working dispatcher path.
Drives the configure-time fail-loud guard. Keep in lock-step
with the select case in ocean_lateral_mix_compute.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code |
pure function lateral_closure_is_implemented(code) result(ok) !! `.true.` iff the closure code has a working dispatcher path. !! Drives the configure-time fail-loud guard. Keep in lock-step !! with the `select case` in `ocean_lateral_mix_compute`. integer, intent(in) :: code logical :: ok select case (code) case (LMIX_NONE, LMIX_LEITH, LMIX_SMAGORINSKY, & LMIX_BIHARMONIC, LMIX_LEITH_BIHARM) ok = .true. case default ok = .false. end select end function lateral_closure_is_implemented