95 |
_RL TBC, ICE2SNOW |
_RL TBC, ICE2SNOW |
96 |
_RL QI, QS |
_RL QI, QS |
97 |
|
|
98 |
|
C-- TmixLoc :: ocean surface/mixed-layer temperature (in K) |
99 |
|
_RL TmixLoc (1:sNx,1:sNy) |
100 |
|
|
101 |
C a_QbyATM_cover :: available heat (in W/m^2) due to the interaction of |
C a_QbyATM_cover :: available heat (in W/m^2) due to the interaction of |
102 |
C the atmosphere and the ocean surface - for ice covered water |
C the atmosphere and the ocean surface - for ice covered water |
103 |
C a_QbyATM_open :: same but for open water |
C a_QbyATM_open :: same but for open water |
690 |
C ================================================================ |
C ================================================================ |
691 |
|
|
692 |
C ocean surface/mixed layer temperature |
C ocean surface/mixed layer temperature |
693 |
DO J=1,sNy |
DO j=1,sNy |
694 |
DO I=1,sNx |
DO i=1,sNx |
695 |
TMIX(I,J,bi,bj)=theta(I,J,kSurface,bi,bj)+celsius2K |
TmixLoc(i,j) = theta(i,j,kSurface,bi,bj)+celsius2K |
696 |
ENDDO |
ENDDO |
697 |
ENDDO |
ENDDO |
698 |
|
|
707 |
CADJ STORE qnet(:,:,bi,bj) = comlev1_bibj, key = iicekey,byte=isbyte |
CADJ STORE qnet(:,:,bi,bj) = comlev1_bibj, key = iicekey,byte=isbyte |
708 |
CADJ STORE qsw(:,:,bi,bj) = comlev1_bibj, key = iicekey,byte=isbyte |
CADJ STORE qsw(:,:,bi,bj) = comlev1_bibj, key = iicekey,byte=isbyte |
709 |
cCADJ STORE UG = comlev1_bibj, key = iicekey,byte=isbyte |
cCADJ STORE UG = comlev1_bibj, key = iicekey,byte=isbyte |
710 |
cCADJ STORE TMIX(:,:,bi,bj) = comlev1_bibj, key = iicekey,byte=isbyte |
cCADJ STORE TmixLoc = comlev1_bibj, key = iicekey,byte=isbyte |
711 |
#endif /* ALLOW_AUTODIFF_TAMC */ |
#endif /* ALLOW_AUTODIFF_TAMC */ |
712 |
|
|
713 |
CALL SEAICE_BUDGET_OCEAN( |
CALL SEAICE_BUDGET_OCEAN( |
714 |
I UG, |
I UG, |
715 |
U TMIX, |
I TmixLoc, |
716 |
O a_QbyATM_open, a_QSWbyATM_open, |
O a_QbyATM_open, a_QSWbyATM_open, |
717 |
I bi, bj, myTime, myIter, myThid ) |
I bi, bj, myTime, myIter, myThid ) |
718 |
|
|
1131 |
& (1.0 _d 0 - AREApreTH(i,J)) |
& (1.0 _d 0 - AREApreTH(i,J)) |
1132 |
c Penetrative shortwave flux beyond first layer |
c Penetrative shortwave flux beyond first layer |
1133 |
c that is therefore not available to ice growth/melt |
c that is therefore not available to ice growth/melt |
1134 |
tmpscal2=SWFRACB * a_QSWbyATM_open(I,J) |
tmpscal2=SWFracB * a_QSWbyATM_open(I,J) |
1135 |
#ifdef SEAICE_DO_OPEN_WATER_MELT |
#ifdef SEAICE_DO_OPEN_WATER_MELT |
1136 |
C allow not only growth but also melt by open ocean heat flux |
C allow not only growth but also melt by open ocean heat flux |
1137 |
tmpscal3=MAX(tmpscal1-tmpscal2, -HEFF(I,J,bi,bj)) |
tmpscal3=MAX(tmpscal1-tmpscal2, -HEFF(I,J,bi,bj)) |