Skip to content

Commit 7cc9f5b

Browse files
committed
added missing update of EVP and associated SUBLIM and EVAPOUT
1 parent 22f8b57 commit 7cc9f5b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SeaiceInterfaceGridComp.F90

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,9 +2704,13 @@ subroutine CICECORE(NT,RC)
27042704
DQS = GEOS_QSAT(TS(:,N), PS, RAMP=0.0, PASCALS=.TRUE.) - QS(:,N)
27052705
QS(:,N) = QS(:,N) + DQS
27062706

2707-
LHF = LHF + EVD * MAPL_ALHS * DTS
2707+
EVP = EVP + EVD * DTS
27082708
SHF = SHF + SHD * DTS
2709+
LHF = EVP * MAPL_ALHS
2710+
27092711

2712+
if(associated(SUBLIM )) SUBLIM = SUBLIM + EVP *FR(:,N)
2713+
if(associated(EVAPOUT)) EVAPOUT = EVAPOUT + EVP *FR(:,N)
27102714
if(associated(DELTS )) DELTS = DELTS + DTS*CFT*FR(:,N)
27112715
if(associated(DELQS )) DELQS = DELQS + DQS*CFQ*FR(:,N)
27122716
if(associated(TST )) TST = TST + TS(:,N)*FR(:,N)
@@ -2724,6 +2728,8 @@ subroutine CICECORE(NT,RC)
27242728
if(associated(QST )) call Normalize(QST, FRCICE)
27252729
if(associated(HLATICE)) call Normalize(HLATICE,FRCICE)
27262730
if(associated(SHICE )) call Normalize(SHICE, FRCICE)
2731+
if(associated(SUBLIM )) call Normalize(SUBLIM, FRCICE)
2732+
if(associated(EVAPOUT)) call Normalize(EVAPOUT, FRCICE)
27272733

27282734
if(associated(LWNDICE)) call Normalize(LWNDICE, FRCICE, set_undef=.True.)
27292735

0 commit comments

Comments
 (0)