Skip to content

Commit

Permalink
set descale in reproducing_sum_3d
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored and Hallberg-NOAA committed Jan 6, 2025
1 parent 7846b80 commit 7ca5ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/framework/MOM_coms.F90
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ function reproducing_sum_3d(array, isr, ier, jsr, jer, sums, EFP_sum, EFP_lay_su

do_sum_across_PEs = .true. ; if (present(only_on_PE)) do_sum_across_PEs = .not.only_on_PE
do_unscale = .false. ; if (present(unscale)) do_unscale = (unscale /= 1.0)
descale = 1.0 ; if (do_unscale) descale = unscale

if (present(sums) .or. present(EFP_lay_sums)) then
if (present(sums)) then ; if (size(sums) < ke) then
Expand Down

0 comments on commit 7ca5ed9

Please sign in to comment.