Counted allocatable footprint of the Redi 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_redi_t), | intent(in) | :: | this |
pure function ocean_redi_bytes(this) result(nbytes) !! Counted allocatable footprint of the Redi slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_redi_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%uPoL) & + arr_bytes(this%uPoR) & + arr_bytes(this%uKoL) & + arr_bytes(this%uKoR) & + arr_bytes(this%uhEff) & + arr_bytes(this%vPoL) & + arr_bytes(this%vPoR) & + arr_bytes(this%vKoL) & + arr_bytes(this%vKoR) & + arr_bytes(this%vhEff) & + arr_bytes(this%uKb) & + arr_bytes(this%uKt) & + arr_bytes(this%vKb) & + arr_bytes(this%vKt) & + arr_bytes(this%khtr_u) & + arr_bytes(this%khtr_v) & + arr_bytes(this%tr_snap) end function ocean_redi_bytes