T_f(S_far, p_top) (degC) — the in-situ freezing point of the
FAR FIELD at the ice base. Distinct from tbdry, which is the
freezing point of the INTERFACE salinity S_b; their
difference is the whole three-equation correction, so shipping
both makes it visible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | state_handle | |||
| real(kind=wp), | intent(inout) | :: | buf(:,:,:) |
subroutine fill_tfreeze_ib(state_handle, buf) !! `T_f(S_far, p_top)` (degC) — the in-situ freezing point of the !! FAR FIELD at the ice base. Distinct from `tbdry`, which is the !! freezing point of the INTERFACE salinity `S_b`; their !! difference is the whole three-equation correction, so shipping !! both makes it visible. class(*), intent(in) :: state_handle real(wp), intent(inout) :: buf(:, :, :) select type (state => state_handle) class is (ocean_state_t) call tfreeze_ib_impl(state%cavity_flux%s_far, state%multilayer%p_top, & state%cavity_flux%active, state%eos, buf) end select end subroutine fill_tfreeze_ib