C-grid u-face → cell centre by simple 2-point average.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | state_handle | |||
| real(kind=wp), | intent(inout) | :: | buf(:,:,:) |
subroutine fill_u_centre(state_handle, buf) !! C-grid u-face → cell centre by simple 2-point average. class(*), intent(in) :: state_handle real(wp), intent(inout) :: buf(:, :, :) select type (state => state_handle) class is (ocean_state_t) call fill_u_centre_impl(state%multilayer%u_face_x_layer, buf) end select end subroutine fill_u_centre