Counted allocatable footprint of the EPBL 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_epbl_t), | intent(in) | :: | this |
pure function ocean_epbl_bytes(this) result(nbytes) !! Counted allocatable footprint of the EPBL slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_epbl_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%f_centre) & + arr_bytes(this%mld) & + arr_bytes(this%b0) & + arr_bytes(this%kd_int) & + arr_bytes(this%la) & + arr_bytes(this%tke_wind) & + arr_bytes(this%tke_conv) & + arr_bytes(this%tke_forcing) & + arr_bytes(this%tke_mixing) & + arr_bytes(this%tke_mech_decay) & + arr_bytes(this%tke_conv_decay) & + this%t0%bytes() & + this%s0%bytes() & + this%dpe_t%bytes() & + this%dpe_s%bytes() & + this%dcolht_t%bytes() & + this%dcolht_s%bytes() & + this%ctke_sw%bytes() end function ocean_epbl_bytes