.true. iff the anisotropy-direction mode has an implemented
direction tensor. Only mode 0 (grid-relative (n1,n2) = aniso_dir,
a constant tensor) is built; the MOM6 flow-aligned modes are not
ported. Drives the configure-time fail-loud guard in
validate_config so a requested-but-unimplemented mode aborts the
run instead of silently falling back to the grid-i default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | mode |
pure function aniso_mode_is_implemented(mode) result(ok) !! `.true.` iff the anisotropy-direction mode has an implemented !! direction tensor. Only mode 0 (grid-relative `(n1,n2) = aniso_dir`, !! a constant tensor) is built; the MOM6 flow-aligned modes are not !! ported. Drives the configure-time fail-loud guard in !! `validate_config` so a requested-but-unimplemented mode aborts the !! run instead of silently falling back to the grid-i default. integer, intent(in) :: mode logical :: ok ok = (mode == 0) end function aniso_mode_is_implemented