Counted allocatable footprint of the MLE / Fox-Kemper 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_mle_t), | intent(in) | :: | this |
pure function ocean_mle_bytes(this) result(nbytes) !! Counted allocatable footprint of the MLE / Fox-Kemper slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_mle_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%b_ml) & + arr_bytes(this%htot_ml) & + arr_bytes(this%mld_filtered) & + arr_bytes(this%uhml) & + arr_bytes(this%vhml) end function ocean_mle_bytes