Counted allocatable footprint of the lateral viscosity 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_lateral_mix_t), | intent(in) | :: | this |
pure function ocean_lateral_mix_bytes(this) result(nbytes) !! Counted allocatable footprint of the lateral viscosity slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_lateral_mix_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%ah_face_x) & + arr_bytes(this%ah_face_y) & + arr_bytes(this%nu4_face_x) & + arr_bytes(this%nu4_face_y) & + this%vort_corner%bytes() end function ocean_lateral_mix_bytes