Counted allocatable footprint of the MEKE 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_meke_t), | intent(in) | :: | this |
pure function ocean_meke_bytes(this) result(nbytes) !! Counted allocatable footprint of the MEKE slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_meke_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%meke) & + arr_bytes(this%kh_diff) & + arr_bytes(this%le) & + arr_bytes(this%ku) & + arr_bytes(this%i_mass) & + arr_bytes(this%depth_tot) & + arr_bytes(this%bottom_fac2) & + arr_bytes(this%barotr_fac2) & + arr_bytes(this%src) & + arr_bytes(this%uflux) & + arr_bytes(this%vflux) & + arr_bytes(this%del2) & + arr_bytes(this%mass_ws) & + arr_bytes(this%u_bbl2) & + arr_bytes(this%ke_diss_ws) & + arr_bytes(this%rd_ws) & + arr_bytes(this%f_centre) & + arr_bytes(this%sn_u_ws) & + arr_bytes(this%sn_v_ws) & + arr_bytes(this%baro_hu) & + arr_bytes(this%baro_hv) end function ocean_meke_bytes