nu_h (m^2/s) needed for delta_M to span exactly n_cells of
width dx — the audit’s suggested fix for a Munk-layer warning.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | beta | |||
| real(kind=wp), | intent(in) | :: | dx | |||
| real(kind=wp), | intent(in) | :: | n_cells |
pure function ocean_munk_required_nu_h(beta, dx, n_cells) result(nu_h_req) !! `nu_h` (m^2/s) needed for `delta_M` to span exactly `n_cells` of !! width `dx` — the audit's suggested fix for a Munk-layer warning. real(wp), intent(in) :: beta, dx, n_cells real(wp) :: nu_h_req nu_h_req = beta*(n_cells*dx)**3 end function ocean_munk_required_nu_h