Skip to content

Commit

Permalink
fixed a bug incorrectly computing FRZMLT
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaobin74 committed Feb 13, 2025
1 parent 601eed5 commit 9f13da4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MOM6_GEOSPlug/MOM6_GEOSPlug.F90
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,13 @@ subroutine Run ( GC, IMPORT, EXPORT, CLOCK, RC )
endif

where(MOM_2D_MASK(:,:)>0.0)
FRZMLT = FRAZIL + MELT_POT
FRZMLT = MELT_POT
elsewhere
FRZMLT = 0.0
end where
where(MOM_2D_MASK(:,:)>0.0 .and. FRAZIL>0.0)
FRZMLT = FRAZIL
end where
end if

! freezing temperature (deg C)
Expand Down

0 comments on commit 9f13da4

Please sign in to comment.