Skip to content

Commit

Permalink
Merge remote-tracking branch 'liho/liho745/river/bug-fix-7792c63' (PR E…
Browse files Browse the repository at this point in the history
…3SM-Project#6313)

Enforces MOSART to stop when there is negative channel storage for any tracer.
The e3sm_mosart_developer tests all passed at Compy BFB.

Fixes E3SM-Project#6302
[BFB]
  • Loading branch information
peterdschwartz committed May 10, 2024
2 parents cf32a25 + 4f7ae11 commit 427b860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mosart/src/riverroute/MOSART_physics_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ subroutine Euler

! check for negative channel storage
if (negchan < -1.e-10) then
write(iulog,*) 'Warning: Negative channel storage found! ',negchan
! call shr_sys_abort('mosart: negative channel storage')
write(iulog,*) 'Error: Negative channel storage found! ',negchan
call shr_sys_abort('mosart: negative channel storage')
endif
TRunoff%flow = TRunoff%flow / Tctl%DLevelH2R
TRunoff%erowm_regi(:,nt_nmud:nt_nsan) = TRunoff%erowm_regi(:,nt_nmud:nt_nsan) / Tctl%DLevelH2R
Expand Down

0 comments on commit 427b860

Please sign in to comment.