Counted allocatable footprint of the ocean C-grid barotropic slot.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(barotropic_state_t), | intent(in) | :: | this |
pure function barotropic_state_bytes(this) result(nbytes) !! Counted allocatable footprint of the ocean C-grid barotropic slot. class(barotropic_state_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%h) + arr_bytes(this%b) & + arr_bytes(this%u_face_x) + arr_bytes(this%hu_face_x) & + arr_bytes(this%v_face_y) + arr_bytes(this%hv_face_y) & + arr_bytes(this%mass_flux_x) + arr_bytes(this%mass_flux_y) & + arr_bytes(this%flux_h) + arr_bytes(this%h0) & + arr_bytes(this%u_face_x0) + arr_bytes(this%v_face_y0) end function barotropic_state_bytes