Counted allocatable footprint of the vertical coordinate 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(ocean_vcoord_t), | intent(in) | :: | this |
pure function ocean_vcoord_bytes(this) result(nbytes) !! Counted allocatable footprint of the vertical coordinate slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(ocean_vcoord_t), intent(in) :: this integer(int64) :: nbytes nbytes = arr_bytes(this%dsig) & + arr_bytes(this%z_ref_global) & + arr_bytes(this%target_h) & + arr_bytes(this%z_ref) & + arr_bytes(this%z_top) & + arr_bytes(this%z_fixed_zi) & + arr_bytes(this%z_fixed_dz) & + arr_bytes(this%rho_target) & + arr_bytes(this%remap_total_h) & + arr_bytes(this%remap_h_ref) & + arr_bytes(this%remap_h_old) & + arr_bytes(this%remap_conc_t) & + arr_bytes(this%remap_conc_s) end function ocean_vcoord_bytes