Skip to content

Commit

Permalink
enforced hpond >= 0 in flush_ponds
Browse files Browse the repository at this point in the history
  • Loading branch information
davidclemenssewall committed Jan 14, 2025
1 parent 250b4a0 commit 7ae6a71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions columnphysics/icepack_therm_mushy.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3225,6 +3225,7 @@ subroutine flush_pond(w, hpond, apond, dt, flpnd, expnd, &
else
hpond = hpond + dhpond
endif
hpond = max(hpond, c0)

!-------------------------------------------------------------
! exponential decay of pond (macro-flaw drainage)
Expand Down Expand Up @@ -3252,6 +3253,7 @@ subroutine flush_pond(w, hpond, apond, dt, flpnd, expnd, &
else
hpond = hpond + dhpond
endif
hpond = max(hpond, c0)
endif
endif

Expand Down

0 comments on commit 7ae6a71

Please sign in to comment.