Counted allocatable footprint of the kappa-shear slot (0 when unallocated). One arr_bytes term per array — add a term here when a new allocatable joins the type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_kappa_shear_t), | intent(in) | :: | this |
pure function ocean_kappa_shear_bytes(this) result(nbytes) !! Counted allocatable footprint of the kappa-shear slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_kappa_shear_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%f_centre) & + arr_bytes(this%kd_int) & + arr_bytes(this%tke_int) & + arr_bytes(this%f_corner) & + arr_bytes(this%kd_corner) end function ocean_kappa_shear_bytes