- Timestamp:
- 2017-09-25T21:11:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90
r8534 r8562 128 128 ! utau_ice, vtau_ice = surface ice stress [N/m2] 129 129 !------------------------------------------------! 130 CALL ice_forcing_tau( kt, ksbc, utau_ice, vtau_ice ) 131 130 CALL ice_forcing_tau( kt, ksbc, utau_ice, vtau_ice ) 132 131 !-------------------------------------! 133 132 ! --- ice dynamics and advection --- ! … … 136 135 CALL ice_rst_opn( kt ) ! Open Ice restart file (if necessary) 137 136 ! 138 IF( ln_icedyn .AND. .NOT.lk_c1d ) CALL ice_dyn( kt ) ! -- Ice dynamics 137 IF( ln_icedyn .AND. .NOT.lk_c1d ) & 138 & CALL ice_dyn( kt ) ! -- Ice dynamics 139 139 ! 140 140 ! !== lateral boundary conditions ==! 141 141 #if defined key_agrif 142 IF( .NOT. Agrif_Root() ) 142 IF( .NOT. Agrif_Root() ) CALL agrif_interp_lim3('T') ! -- AGRIF 143 143 #endif 144 IF( ln_icethd .AND. ln_bdy ) 144 IF( ln_icethd .AND. ln_bdy ) CALL bdy_ice( kt ) ! -- bdy ice thermo 145 145 ! 146 146 ! 147 147 ! !== previous lead fraction and ice volume for flux calculations 148 !149 148 CALL ice_var_glo2eqv ! ht_i and ht_s for ice albedo calculation 150 149 CALL ice_var_agg(1) ! at_i for coupling … … 165 164 ! qprec_ice, qevap_ice 166 165 !------------------------------------------------------! 167 CALL ice_forcing_flx( kt, ksbc ) 168 166 CALL ice_forcing_flx( kt, ksbc ) 169 167 !----------------------------! 170 168 ! --- ice thermodynamics --- ! 171 169 !----------------------------! 172 IF( ln_icethd ) CALL ice_thd( kt ) ! -- Ice thermodynamics 173 174 ! MV MP 2016 175 IF ( ln_pnd ) CALL lim_mp( kt ) ! -- Melt ponds 176 ! END MV MP 2016 177 178 IF( ln_icethd ) CALL ice_cor( kt , 2 ) ! -- Corrections 179 ! --- 170 IF( ln_icethd ) CALL ice_thd( kt ) ! -- Ice thermodynamics 171 ! 172 IF ( ln_pnd ) CALL lim_mp( kt ) ! -- Melt ponds 173 ! 174 IF( ln_icethd ) CALL ice_cor( kt , 2 ) ! -- Corrections 180 175 # if defined key_agrif 181 IF( .NOT. Agrif_Root() ) CALL agrif_update_lim3( kt )176 IF( .NOT. Agrif_Root() ) CALL agrif_update_lim3( kt ) 182 177 # endif 183 184 185 !178 CALL ice_var_glo2eqv ! necessary calls (at least for coupling) 179 CALL ice_var_agg( 2 ) ! necessary calls (at least for coupling) 180 ! 186 181 !! clem: one should switch the calculation of the fluxes onto the parent grid but the following calls do not work 187 182 !! moreover it should only be called at the update frequency (as in agrif_lim3_update.F90) 188 183 !!# if defined key_agrif 189 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ChildGrid_To_ParentGrid()184 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ChildGrid_To_ParentGrid() 190 185 !!# endif 191 CALL ice_update_flx( kt )! -- Update ocean surface mass, heat and salt fluxes186 CALL ice_update_flx( kt ) ! -- Update ocean surface mass, heat and salt fluxes 192 187 !!# if defined key_agrif 193 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ParentGrid_To_ChildGrid()188 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ParentGrid_To_ChildGrid() 194 189 !!# endif 195 IF( ln_icediahsb ) CALL ice_dia( kt ) ! -- Diagnostics and outputs 196 ! 197 CALL ice_wri( 1 ) ! -- Ice outputs 198 ! 199 ! 200 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 201 ! 202 IF( ln_icectl ) CALL ice_ctl( kt ) ! -- alerts in case of model crash 190 IF( ln_icediahsb ) CALL ice_dia( kt ) ! -- Diagnostics outputs 191 ! 192 CALL ice_wri( kt ) ! -- Ice outputs 193 ! 194 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 195 ! 196 IF( ln_icectl ) CALL ice_ctl( kt ) ! -- alerts in case of model crash 203 197 ! 204 198 ENDIF ! End sea-ice time step only … … 207 201 ! --- Ocean time step --- ! 208 202 !-------------------------! 209 ! Update surface ocean stresses (only in ice-dynamic case) otherwise the atm.-ocean stresses are used everywhere 210 ! using before instantaneous surf. currents 211 IF( ln_icedyn ) CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) ) 203 IF( ln_icedyn ) CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) ) ! -- update surface ocean stresses 212 204 !!gm remark, the ocean-ice stress is not saved in ice diag call above ..... find a solution!!! 213 205 ! 214 IF( nn_timing == 1 ) CALL timing_stop('ice_stp')206 IF( nn_timing == 1 ) CALL timing_stop('ice_stp') 215 207 ! 216 208 END SUBROUTINE ice_stp … … 246 238 CALL ice_itd_init ! ice thickness distribution initialization 247 239 ! 248 ! MV MP 2016249 240 CALL lim_mp_init ! set melt ponds parameters (clem: important to be located here) 250 ! END MV MP 2016241 ! 251 242 ! ! Initial sea-ice state 252 243 IF( .NOT. ln_rstart ) THEN ! start from rest: sea-ice deduced from sst
Note: See TracChangeset
for help on using the changeset viewer.