Does this law’s (gamma_t, gamma_s) depend on the interfacial
buoyancy flux — and therefore on the melt rate it produces? Yung
et al. (2025) p. 5833 states the consequence: “Since the transfer
coefficients depend on L+, which in turn depends on melt rate via
surface buoyancy forcing, iteration is required for convergence
of the three-equation parameterisation solution.”
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | law |
|
pure function cavity_law_is_implicit(law) result(is_implicit) !! Does this law's `(gamma_t, gamma_s)` depend on the interfacial !! buoyancy flux — and therefore on the melt rate it produces? Yung !! et al. (2025) p. 5833 states the consequence: "Since the transfer !! coefficients depend on L+, which in turn depends on melt rate via !! surface buoyancy forcing, iteration is required for convergence !! of the three-equation parameterisation solution." !$acc routine seq integer, intent(in) :: law !! `CAVITY_LAW_*` code. logical :: is_implicit is_implicit = (law == CAVITY_LAW_HJ99) .or. (law == CAVITY_LAW_YUNG25) end function cavity_law_is_implicit