Counted allocatable footprint of the isopycnal slopes 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_slopes_t), | intent(in) | :: | this |
pure function ocean_slopes_bytes(this) result(nbytes) !! Counted allocatable footprint of the isopycnal slopes slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_slopes_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%slope_x) & + arr_bytes(this%slope_y) & + arr_bytes(this%n2_u) & + arr_bytes(this%n2_v) & + arr_bytes(this%t_fill) & + arr_bytes(this%s_fill) & + arr_bytes(this%e_int) & + arr_bytes(this%bathy) end function ocean_slopes_bytes