Counted allocatable footprint of the tides 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_tides_t), | intent(in) | :: | this |
pure function ocean_tides_bytes(this) result(nbytes) !! Counted allocatable footprint of the tides slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_tides_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%species_c) & + arr_bytes(this%omega_c) & + arr_bytes(this%amp_c) & + arr_bytes(this%love_c) & + arr_bytes(this%phase0) & + arr_bytes(this%f_nodal) & + arr_bytes(this%u_nodal) & + arr_bytes(this%amp_cos) & + arr_bytes(this%amp_sin) & + arr_bytes(this%cos_struct) & + arr_bytes(this%sin_struct) & + arr_bytes(this%eta_eq) & + arr_bytes(this%eta_sal) & + arr_bytes(this%eta_forcing) end function ocean_tides_bytes