Counted allocatable footprint of the vertical mixing 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_vmix_t), | intent(in) | :: | this |
pure function ocean_vmix_bytes(this) result(nbytes) !! Counted allocatable footprint of the vertical mixing slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_vmix_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%bl_depth) & + arr_bytes(this%b0) & + arr_bytes(this%kv) & + arr_bytes(this%kt) & + arr_bytes(this%ks) & + arr_bytes(this%gamma_t) & + arr_bytes(this%gamma_s) & + arr_bytes(this%smooth_scratch) & + arr_bytes(this%kd_bg) end function ocean_vmix_bytes