- Timestamp:
- 2019-11-22T15:29:17+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r11943_MERGE_2019/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src
- Property svn:mergeinfo deleted
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcice_if.F90
r11536 r11949 42 42 CONTAINS 43 43 44 SUBROUTINE sbc_ice_if( kt )44 SUBROUTINE sbc_ice_if( kt, Kbb, Kmm ) 45 45 !!--------------------------------------------------------------------- 46 46 !! *** ROUTINE sbc_ice_if *** … … 59 59 !!--------------------------------------------------------------------- 60 60 INTEGER, INTENT(in) :: kt ! ocean time step 61 INTEGER, INTENT(in) :: Kbb, Kmm ! ocean time level indices 61 62 ! 62 63 INTEGER :: ji, jj ! dummy loop indices … … 118 119 ENDIF 119 120 120 ts n(ji,jj,1,jp_tem) = MAX( tsn(ji,jj,1,jp_tem), zt_fzp ) ! avoid over-freezing point temperature121 ts(ji,jj,1,jp_tem,Kmm) = MAX( ts(ji,jj,1,jp_tem,Kmm), zt_fzp ) ! avoid over-freezing point temperature 121 122 122 123 qsr(ji,jj) = ( 1. - zfr_obs ) * qsr(ji,jj) ! solar heat flux : zero below observed ice cover … … 125 126 ! # ztrp*(t-(tgel-1.)) if observed ice and no opa ice (zfr_obs=1 fr_i=0) 126 127 ! # ztrp*min(0,t-tgel) if observed ice and opa ice (zfr_obs=1 fr_i=1) 127 zqri = ztrp * ( ts b(ji,jj,1,jp_tem) - ( zt_fzp - 1.) )128 zqrj = ztrp * MIN( 0., ts b(ji,jj,1,jp_tem) - zt_fzp )128 zqri = ztrp * ( ts(ji,jj,1,jp_tem,Kbb) - ( zt_fzp - 1.) ) 129 zqrj = ztrp * MIN( 0., ts(ji,jj,1,jp_tem,Kbb) - zt_fzp ) 129 130 zqrp = ( zfr_obs * ( (1. - fr_i(ji,jj) ) * zqri & 130 131 & + fr_i(ji,jj) * zqrj ) ) * tmask(ji,jj,1)
Note: See TracChangeset
for help on using the changeset viewer.