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 Mar 2, 2023
1 parent 1a2fe1c commit 43652ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4331,9 +4331,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 43652ad

Please sign in to comment.