Skip to content

Commit

Permalink
Update grounded and floating calving budgets incrementally
Browse files Browse the repository at this point in the history
Update grounded and floating calving budgets incrementally, which is
required to close budget.
  • Loading branch information
trhille committed Feb 23, 2023
1 parent 2202bf0 commit 6d73a85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4240,9 +4240,9 @@ subroutine update_calving_budget(geometryPool, dCalvingThickness)
call mpas_pool_get_array(geometryPool, 'calvingThickness', calvingThickness)
where (groundedMaskForMassBudget .eq. 1)
groundedCalvingThickness = dCalvingThickness
groundedCalvingThickness = groundedCalvingThickness + dCalvingThickness
elsewhere (floatingMaskForMassBudget .eq. 1)
floatingCalvingThickness = dCalvingThickness
floatingCalvingThickness = floatingCalvingThickness + dCalvingThickness
end where
calvingThickness(:) = calvingThickness(:) + dCalvingThickness(:)
Expand Down

0 comments on commit 6d73a85

Please sign in to comment.