Explicit-shape seam: a contiguous ice array of any rank (0:ncat
third bound, rank-4 category x layer) is handed in by sequence
association and exchanged as one (nxt, nyt, nz) centre field.
The generic ocean_halo_centre resolves on the DUMMY’s rank, so
the rank-4 actuals cannot call it directly.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(inout) | :: | fld(nxt,nyt,nz) | |||
| integer, | intent(in) | :: | nxt | |||
| integer, | intent(in) | :: | nyt | |||
| integer, | intent(in) | :: | nz | |||
| logical, | intent(in), | optional | :: | device_resident |
subroutine ice_halo_centre_flat(fld, nxt, nyt, nz, device_resident) !! Explicit-shape seam: a contiguous ice array of any rank (`0:ncat` !! third bound, rank-4 category x layer) is handed in by sequence !! association and exchanged as one `(nxt, nyt, nz)` centre field. !! The generic `ocean_halo_centre` resolves on the DUMMY's rank, so !! the rank-4 actuals cannot call it directly. integer, intent(in) :: nxt, nyt, nz real(wp), intent(inout) :: fld(nxt, nyt, nz) logical, intent(in), optional :: device_resident call ocean_halo_centre(fld, nz, device_resident) end subroutine ice_halo_centre_flat