Counted allocatable footprint of the Coriolis-advection 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(coriolis_adv_t), | intent(in) | :: | this |
pure function coriolis_adv_bytes(this) result(nbytes) !! Counted allocatable footprint of the Coriolis-advection slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(coriolis_adv_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%f_corner) & + this%q_corner%bytes() & + this%ke_centre%bytes() & + this%pv_flux_x%bytes() & + this%pv_flux_y%bytes() & + this%mass_flux_u%bytes() & + this%mass_flux_v%bytes() end function coriolis_adv_bytes