Kappa-shear interface diffusivity (m^2/s). Buffer is layer-shaped (nx, ny, nz); we emit the value at the BOTTOM interface of each layer (kd_int(:, :, k) convention), losing only the identically-zero surface interface.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | state_handle | |||
| real(kind=wp), | intent(inout) | :: | buf(:,:,:) |
subroutine fill_kd_kshear(state_handle, buf) !! Kappa-shear interface diffusivity (m^2/s). Buffer is !! layer-shaped (nx, ny, nz); we emit the value at the BOTTOM !! interface of each layer (kd_int(:, :, k) convention), losing !! only the identically-zero surface interface. class(*), intent(in) :: state_handle real(wp), intent(inout) :: buf(:, :, :) select type (state => state_handle) class is (ocean_state_t) call fill_kd_epbl_impl(state%kshear%kd_int, buf) end select end subroutine fill_kd_kshear