- Timestamp:
- 2017-09-05T19:53:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90
r8486 r8498 122 122 ! !-----------------------! 123 123 ! 124 kt_ice = kt !Ice model time step124 kt_ice = kt ! -- Ice model time step 125 125 ! 126 126 # if defined key_agrif 127 127 IF( .NOT. Agrif_Root() ) lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 128 128 # endif 129 130 ! ! mean surface ocean current at ice velocity point 131 u_oce(:,:) = ssu_m(:,:) * umask(:,:,1) 132 v_oce(:,:) = ssv_m(:,:) * vmask(:,:,1) 133 !!gm the umask, vmask above is useless as ssu_m, ssv_m are build from masked un,vn (used t be here for B-grid sea-ice) 134 135 ! ! masked sea surface freezing temperature [Kelvin] (set to rt0 over land) 136 CALL eos_fzp( sss_m(:,:) , t_bo(:,:) ) 129 u_oce(:,:) = ssu_m(:,:) ! -- mean surface ocean current 130 v_oce(:,:) = ssv_m(:,:) 131 ! 132 CALL eos_fzp( sss_m(:,:) , t_bo(:,:) ) ! -- freezing temperature [Kelvin] (set to rt0 over land) 137 133 t_bo(:,:) = ( t_bo(:,:) + rt0 ) * tmask(:,:,1) + rt0 * ( 1._wp - tmask(:,:,1) ) 138 134 ! 139 CALL ice_bef ! Store previousice values135 CALL store_fields ! -- Store now ice values 140 136 ! 141 137 !------------------------------------------------! … … 179 175 CALL ice_var_glo2eqv ! ht_i and ht_s for ice albedo calculation 180 176 CALL ice_var_agg(1) ! at_i for coupling 181 CALL ice_bef ! Store previousice values177 CALL store_fields ! Store now ice values 182 178 183 179 !------------------------------------------------------! … … 223 219 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ParentGrid_To_ChildGrid() 224 220 !!# endif 225 IF( ln_limdiahsb ) 226 ! 227 221 IF( ln_limdiahsb ) CALL ice_dia( kt ) ! -- Diagnostics and outputs 222 ! 223 CALL ice_wri( 1 ) ! -- Ice outputs 228 224 ! 229 225 IF( kt == nit000 .AND. ln_rstart ) & !!gm I don't understand the ln_rstart, if needed, add a comment, please 230 & 231 ! 232 IF( lrst_ice ) 233 ! 234 IF( ln_limctl ) 226 & CALL iom_close( numrir ) ! close input ice restart file 227 ! 228 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 229 ! 230 IF( ln_limctl ) CALL ice_ctl( kt ) ! alerts in case of model crash 235 231 ! 236 232 ENDIF ! End sea-ice time step only … … 241 237 ! Update surface ocean stresses (only in ice-dynamic case) otherwise the atm.-ocean stresses are used everywhere 242 238 ! using before instantaneous surf. currents 243 IF( ln_limdyn ) 239 IF( ln_limdyn ) CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) ) 244 240 !!gm remark, the ocean-ice stress is not saved in ice diag call above ..... find a solution!!! 245 241 ! … … 476 472 477 473 478 SUBROUTINE ice_bef479 !!---------------------------------------------------------------------- 480 !! *** ROUTINE ice_bef***474 SUBROUTINE store_fields 475 !!---------------------------------------------------------------------- 476 !! *** ROUTINE store_fields *** 481 477 !! 482 478 !! ** purpose : store ice variables at "before" time step … … 525 521 CALL lbc_lnk_multi( at_i_b, 'T', 1., u_ice_b , 'U', -1., v_ice_b , 'V', -1. ) 526 522 ! 527 END SUBROUTINE ice_bef523 END SUBROUTINE store_fields 528 524 529 525 … … 570 566 ! 571 567 afx_tot(ji,jj) = 0._wp ; 572 afx_dyn(ji,jj) = 0._wp ; afx_thd(ji,jj) = 0._wp573 568 ! 574 569 diag_heat(ji,jj) = 0._wp ; diag_smvi(ji,jj) = 0._wp
Note: See TracChangeset
for help on using the changeset viewer.