shr_reprosum_calc Subroutine

public subroutine shr_reprosum_calc(arr, arr_gsum, nsummands, dsummands, nflds, ddpdd_sum, arr_gbl_max, arr_gbl_max_out, arr_max_levels, arr_max_levels_out, gbl_max_nsummands, gbl_max_nsummands_out, gbl_count, repro_sum_validate, repro_sum_stats, rel_diff, commid)

Arguments

Type IntentOptional Attributes Name
real(kind=r8), intent(in) :: arr(dsummands,nflds)
real(kind=r8), intent(out) :: arr_gsum(nflds)
integer, intent(in) :: nsummands
integer, intent(in) :: dsummands
integer, intent(in) :: nflds
logical, intent(in), optional :: ddpdd_sum
real(kind=r8), intent(in), optional :: arr_gbl_max(nflds)
real(kind=r8), intent(out), optional :: arr_gbl_max_out(nflds)
integer, intent(in), optional :: arr_max_levels(nflds)
integer, intent(out), optional :: arr_max_levels_out(nflds)
integer, intent(in), optional :: gbl_max_nsummands
integer, intent(out), optional :: gbl_max_nsummands_out
integer, intent(in), optional :: gbl_count
logical, intent(in), optional :: repro_sum_validate
integer, intent(inout), optional :: repro_sum_stats(5)
real(kind=r8), intent(out), optional :: rel_diff(2,nflds)
integer, intent(in), optional :: commid