ocean_mle_bytes Function

private pure function ocean_mle_bytes(this) result(nbytes)

Counted allocatable footprint of the MLE / Fox-Kemper slot (0 when unallocated). One arr_bytes term per array — add a term here when a new allocatable joins the type.

Type Bound

ocean_mle_t

Arguments

Type IntentOptional Attributes Name
class(ocean_mle_t), intent(in) :: this

Return Value integer(kind=int64)


Calls

proc~~ocean_mle_bytes~~CallsGraph proc~ocean_mle_bytes ocean_mle_t%ocean_mle_bytes interface~arr_bytes arr_bytes proc~ocean_mle_bytes->interface~arr_bytes proc~arr_bytes_i1 arr_bytes_i1 interface~arr_bytes->proc~arr_bytes_i1 proc~arr_bytes_i2 arr_bytes_i2 interface~arr_bytes->proc~arr_bytes_i2 proc~arr_bytes_i3 arr_bytes_i3 interface~arr_bytes->proc~arr_bytes_i3 proc~arr_bytes_l1 arr_bytes_l1 interface~arr_bytes->proc~arr_bytes_l1 proc~arr_bytes_l2 arr_bytes_l2 interface~arr_bytes->proc~arr_bytes_l2 proc~arr_bytes_l3 arr_bytes_l3 interface~arr_bytes->proc~arr_bytes_l3 proc~arr_bytes_r1 arr_bytes_r1 interface~arr_bytes->proc~arr_bytes_r1 proc~arr_bytes_r2 arr_bytes_r2 interface~arr_bytes->proc~arr_bytes_r2 proc~arr_bytes_r3 arr_bytes_r3 interface~arr_bytes->proc~arr_bytes_r3 proc~arr_bytes_r4 arr_bytes_r4 interface~arr_bytes->proc~arr_bytes_r4

Source Code

   pure function ocean_mle_bytes(this) result(nbytes)
      !! Counted allocatable footprint of the MLE / Fox-Kemper slot
      !! (0 when unallocated). One arr_bytes term per array — add a
      !! term here when a new allocatable joins the type.
      class(ocean_mle_t), intent(in) :: this
      integer(int64) :: nbytes
      nbytes = arr_bytes(this%b_ml) &
               + arr_bytes(this%htot_ml) &
               + arr_bytes(this%mld_filtered) &
               + arr_bytes(this%uhml) &
               + arr_bytes(this%vhml)
   end function ocean_mle_bytes