Counted allocatable footprint (0 when enable=.false. — every
array is unallocated then). tools/check_bytes_accounting.py
reconciles this against the measured device mapping.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_sponge_t), | intent(in) | :: | this |
pure function ocean_sponge_bytes(this) result(nbytes) !! Counted allocatable footprint (0 when `enable=.false.` — every !! array is unallocated then). `tools/check_bytes_accounting.py` !! reconciles this against the measured device mapping. class(ocean_sponge_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%idamp_h) + arr_bytes(this%idamp_u) & + arr_bytes(this%idamp_v) + arr_bytes(this%ref_tracer) & + arr_bytes(this%u_ref) + arr_bytes(this%v_ref) & + arr_bytes(this%z_top) end function ocean_sponge_bytes