Skip to content

Commit

Permalink
add new interfaces to the fms_diag_reduction_methods module
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Jan 8, 2025
1 parent 9d33db9 commit f097d65
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions diag_manager/fms_diag_reduction_methods.F90
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@ module fms_diag_reduction_methods_mod
module procedure sum_update_done_r4, sum_update_done_r8
end interface

!> @brief Updates the buffer for any reductions that involve summation
!! (ie. time_sum, avg, rms, pow)
!! In this case the mask is present
interface sum_mask
module procedure sum_mask_r4, sum_mask_r8
end interface

!> @brief Updates the buffer for any reductions that involve summation
!! (ie. time_sum, avg, rms, pow)
!! In this case the mask is present and it varies over time
interface sum_mask_variant
module procedure sum_mask_variant_r4, sum_mask_variant_r8
end interface sum_mask_variant

!> @brief Updates the buffer for any reductions that involve summation
!! (ie. time_sum, avg, rms, pow)
!! In this case the mask is not present
interface sum_no_mask
module procedure sum_no_mask_r4, sum_no_mask_r8
end interface sum_no_mask

contains

!> @brief Checks improper combinations of is, ie, js, and je.
Expand Down

0 comments on commit f097d65

Please sign in to comment.