Changeset 14072 for NEMO/trunk/src/ICE/icestp.F90
- Timestamp:
- 2020-12-04T08:48:38+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/ICE/icestp.F90
r14005 r14072 8 8 !! aka Sea Ice cube for its nickname 9 9 !! 10 !! is originally based on LIM3, developed in Louvain-la-Neuve by: 10 !! is originally based on LIM3, developed in Louvain-la-Neuve by: 11 11 !! * Martin Vancoppenolle (UCL-ASTR, Belgium) 12 12 !! * Sylvain Bouillon (UCL-ASTR, Belgium) … … 140 140 IF( .NOT. Agrif_Root() ) nbstep_ice = MOD( nbstep_ice, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 141 141 ! ! these calls must remain here for restartability purposes 142 CALL agrif_interp_ice( 'T' ) 142 CALL agrif_interp_ice( 'T' ) 143 143 CALL agrif_interp_ice( 'U' ) 144 144 CALL agrif_interp_ice( 'V' ) … … 152 152 ! utau_ice, vtau_ice = surface ice stress [N/m2] 153 153 !------------------------------------------------! 154 CALL ice_sbc_tau( kt, ksbc, utau_ice, vtau_ice ) 154 CALL ice_sbc_tau( kt, ksbc, utau_ice, vtau_ice ) 155 155 !-------------------------------------! 156 156 ! --- ice dynamics and advection --- ! 157 157 !-------------------------------------! 158 158 CALL diag_set0 ! set diag of mass, heat and salt fluxes to 0 159 CALL ice_rst_opn( kt ) ! Open Ice restart file (if necessary) 159 CALL ice_rst_opn( kt ) ! Open Ice restart file (if necessary) 160 160 ! 161 161 IF( ln_icedyn .AND. .NOT.lk_c1d ) & … … 169 169 ! !== previous lead fraction and ice volume for flux calculations 170 170 CALL ice_var_glo2eqv ! h_i and h_s for ice albedo calculation 171 CALL ice_var_agg(1) ! at_i for coupling 171 CALL ice_var_agg(1) ! at_i for coupling 172 172 CALL store_fields ! Store now ice values 173 173 ! … … 189 189 ! --- ice thermodynamics --- ! 190 190 !----------------------------! 191 IF( ln_icethd ) CALL ice_thd( kt ) ! -- Ice thermodynamics 191 IF( ln_icethd ) CALL ice_thd( kt ) ! -- Ice thermodynamics 192 192 ! 193 193 CALL diag_trends( 2 ) ! record thermo trends … … 197 197 CALL ice_update_flx( kt ) ! -- Update ocean surface mass, heat and salt fluxes 198 198 ! 199 IF( ln_icediahsb ) CALL ice_dia( kt ) ! -- Diagnostics outputs 200 ! 201 IF( ln_icediachk ) CALL ice_drift_wri( kt ) ! -- Diagnostics outputs for conservation 202 ! 203 CALL ice_wri( kt ) ! -- Ice outputs 204 ! 205 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 199 IF( ln_icediahsb ) CALL ice_dia( kt ) ! -- Diagnostics outputs 200 ! 201 IF( ln_icediachk ) CALL ice_drift_wri( kt ) ! -- Diagnostics outputs for conservation 202 ! 203 CALL ice_wri( kt ) ! -- Ice outputs 204 ! 205 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 206 206 ! 207 207 IF( ln_icectl ) CALL ice_ctl( kt ) ! -- Control checks … … 231 231 !!---------------------------------------------------------------------- 232 232 IF(lwp) WRITE(numout,*) 233 IF(lwp) WRITE(numout,*) 'Sea Ice Model: SI3 (Sea Ice modelling Integrated Initiative)' 233 IF(lwp) WRITE(numout,*) 'Sea Ice Model: SI3 (Sea Ice modelling Integrated Initiative)' 234 234 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~' 235 235 IF(lwp) WRITE(numout,*) 236 IF(lwp) WRITE(numout,*) 'ice_init: Arrays allocation & Initialization of all routines & init state' 236 IF(lwp) WRITE(numout,*) 'ice_init: Arrays allocation & Initialization of all routines & init state' 237 237 IF(lwp) WRITE(numout,*) '~~~~~~~~' 238 238 ! … … 250 250 ! ! Allocate the ice arrays (sbc_ice already allocated in sbc_init) 251 251 ierr = ice_alloc () ! ice variables 252 ierr = ierr + sbc_ice_alloc () ! surface boundary conditions 252 ierr = ierr + sbc_ice_alloc () ! surface boundary conditions 253 253 ierr = ierr + ice1D_alloc () ! thermodynamics 254 254 ! … … 333 333 WRITE(numout,*) ' Ice dynamics (T) or not (F) ln_icedyn = ', ln_icedyn 334 334 WRITE(numout,*) ' Ice thermodynamics (T) or not (F) ln_icethd = ', ln_icethd 335 WRITE(numout,*) ' maximum ice concentration for NH = ', rn_amax_n 335 WRITE(numout,*) ' maximum ice concentration for NH = ', rn_amax_n 336 336 WRITE(numout,*) ' maximum ice concentration for SH = ', rn_amax_s 337 337 ENDIF … … 417 417 wfx_bom(ji,jj) = 0._wp ; wfx_sum(ji,jj) = 0._wp 418 418 wfx_res(ji,jj) = 0._wp ; wfx_sub(ji,jj) = 0._wp 419 wfx_spr(ji,jj) = 0._wp ; wfx_lam(ji,jj) = 0._wp 419 wfx_spr(ji,jj) = 0._wp ; wfx_lam(ji,jj) = 0._wp 420 420 wfx_snw_dyn(ji,jj) = 0._wp ; wfx_snw_sum(ji,jj) = 0._wp 421 421 wfx_snw_sub(ji,jj) = 0._wp ; wfx_ice_sub(ji,jj) = 0._wp 422 wfx_snw_sni(ji,jj) = 0._wp 422 wfx_snw_sni(ji,jj) = 0._wp 423 423 wfx_pnd(ji,jj) = 0._wp 424 424
Note: See TracChangeset
for help on using the changeset viewer.