Counted allocatable footprint (0 when unallocated). One
arr_bytes term per array — add one here when an array joins
the type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_cavity_flux_t), | intent(in) | :: | this |
pure function ocean_cavity_flux_bytes(this) result(nbytes) !! Counted allocatable footprint (0 when unallocated). One !! `arr_bytes` term per array — add one here when an array joins !! the type. class(ocean_cavity_flux_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%f_cor) & + arr_bytes(this%active) & + arr_bytes(this%t_far) & + arr_bytes(this%s_far) & + arr_bytes(this%u_far) & + arr_bytes(this%v_far) & + arr_bytes(this%ustar) & + arr_bytes(this%t_b) & + arr_bytes(this%s_b) & + arr_bytes(this%melt) & + arr_bytes(this%q_ocean) & + arr_bytes(this%gamma_t) & + arr_bytes(this%gamma_s) & + arr_bytes(this%status) & + arr_bytes(this%comp_scale) end function ocean_cavity_flux_bytes