Counted allocatable footprint of the conservation budgets (own accumulator; registry contributors are counted by their owning slot) slot (0 when unallocated).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_budgets_t), | intent(in) | :: | this |
pure function ocean_budgets_bytes(this) result(nbytes) !! Counted allocatable footprint of the conservation budgets (own accumulator; registry contributors are counted by their owning slot) slot (0 when !! unallocated). class(ocean_budgets_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%areaT) ! Region mask — HOST-only (lazily allocated by `init_snapshot` / ! `evaluate`, never `!$acc enter data`'d). Counted anyway now that ! `diag_mask_t` has a `bytes()`: the term is 0 on every shipped ! namelist (`ocean_budgets_t` has no production consumer) and keeping ! it makes the drift hook's "every countable component" rule hold. if (allocated(this%mask)) nbytes = nbytes + this%mask%bytes() end function ocean_budgets_bytes