Skip to content

Commit

Permalink
adjust denominator for flux limiting by -puny (fbot+fside<0) (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
eclare108213 authored Oct 27, 2023
1 parent 6ad0f44 commit 71093e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion columnphysics/icepack_therm_vertical.F90
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ subroutine frzmlt_bottom_lateral (dt, ncat, &
! FYI: fside is not yet correct for fsd, may need to adjust fbot further
!-----------------------------------------------------------------

xtmp = frzmlt/(fbot + fside + puny)
xtmp = frzmlt/(fbot + fside - puny)
xtmp = min(xtmp, c1)
fbot = fbot * xtmp
rside = rside * xtmp
Expand Down

0 comments on commit 71093e6

Please sign in to comment.