Counted allocatable footprint of the continuity-PPM 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(continuity_t), | intent(in) | :: | this |
pure function continuity_bytes(this) result(nbytes) !! Counted allocatable footprint of the continuity-PPM slot !! (0 when unallocated). One arr_bytes term per array — add a !! term here when a new allocatable joins the type. class(continuity_t), intent(in) :: this integer(int64) :: nbytes nbytes = this%h_face_left_x%bytes() & + this%h_face_right_x%bytes() & + this%h_face_left_y%bytes() & + this%h_face_right_y%bytes() & + this%mt_h_new%bytes() & + this%mt_grounded%bytes() & + this%pd_theta%bytes() & + arr_bytes(this%uhtr) & + arr_bytes(this%vhtr) & + arr_bytes(this%hprev_work) & + arr_bytes(this%h_win_start) & + arr_bytes(this%uhr_x) & + arr_bytes(this%uhr_y) & + arr_bytes(this%uhh_x) & + arr_bytes(this%uhh_y) & + arr_bytes(this%tr_flux_x) & + arr_bytes(this%tr_flux_y) & + arr_bytes(this%tr_work) & + arr_bytes(this%pal) & + arr_bytes(this%par) & + arr_bytes(this%pa6) end function continuity_bytes