Counted allocatable footprint of the VarMix 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_varmix_t), | intent(in) | :: | this |
pure function ocean_varmix_bytes(this) result(nbytes) !! Counted allocatable footprint of the VarMix slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_varmix_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%f2_dx2_u) & + arr_bytes(this%f2_dx2_v) & + arr_bytes(this%beta_dx2_u) & + arr_bytes(this%beta_dx2_v) & + arr_bytes(this%l2_u) & + arr_bytes(this%l2_v) & + arr_bytes(this%res_fn_u) & + arr_bytes(this%res_fn_v) & + arr_bytes(this%sn_u) & + arr_bytes(this%sn_v) & + arr_bytes(this%khth_u) & + arr_bytes(this%khth_v) & + arr_bytes(this%khtr_u) & + arr_bytes(this%khtr_v) end function ocean_varmix_bytes