- Timestamp:
- 2017-12-26T17:32:56+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90
r9124 r9169 281 281 !! ** input : Namelist nampar 282 282 !!------------------------------------------------------------------- 283 INTEGER :: ios ! Local integer output status for namelist read 283 INTEGER :: ios ! Local integer 284 !! 284 285 NAMELIST/nampar/ jpl, nlay_i, nlay_s, nn_virtual_itd, ln_icedyn, ln_icethd, rn_amax_n, rn_amax_s, & 285 286 & cn_icerst_in, cn_icerst_indir, cn_icerst_out, cn_icerst_outdir … … 288 289 REWIND( numnam_ice_ref ) ! Namelist nampar in reference namelist : Parameters for ice 289 290 READ ( numnam_ice_ref, nampar, IOSTAT = ios, ERR = 901) 290 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampar in reference namelist', lwp ) 291 291 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampar in reference namelist', lwp ) 292 292 REWIND( numnam_ice_cfg ) ! Namelist nampar in configuration namelist : Parameters for ice 293 293 READ ( numnam_ice_cfg, nampar, IOSTAT = ios, ERR = 902 ) 294 902 IF( ios /= 0 )CALL ctl_nam ( ios , 'nampar in configuration namelist', lwp )295 IF(lwm) WRITE 294 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampar in configuration namelist', lwp ) 295 IF(lwm) WRITE( numoni, nampar ) 296 296 ! 297 297 IF(lwp) THEN ! control print 298 298 WRITE(numout,*) 299 WRITE(numout,*) ' par_init: ice parameters shared among all the routines'300 WRITE(numout,*) ' ~~~~~~~'301 WRITE(numout,*) ' Namelist nampar: '302 WRITE(numout,*) ' number of ice categories jpl= ', jpl303 WRITE(numout,*) ' number of ice layers nlay_i= ', nlay_i304 WRITE(numout,*) ' number of snow layers nlay_s= ', nlay_s305 WRITE(numout,*) ' virtual ITD param for jpl=1 (1-3) or not (0) nn_virtual_itd = ', nn_virtual_itd306 WRITE(numout,*) ' Ice dynamics (T) or not (F) ln_icedyn = ', ln_icedyn307 WRITE(numout,*) ' Ice thermodynamics (T) or not (F) ln_icethd = ', ln_icethd308 WRITE(numout,*) ' maximum ice concentration for NH = ', rn_amax_n309 WRITE(numout,*) ' maximum ice concentration for SH = ', rn_amax_s299 WRITE(numout,*) ' par_init: ice parameters shared among all the routines' 300 WRITE(numout,*) ' ~~~~~~~~' 301 WRITE(numout,*) ' Namelist nampar: ' 302 WRITE(numout,*) ' number of ice categories jpl = ', jpl 303 WRITE(numout,*) ' number of ice layers nlay_i = ', nlay_i 304 WRITE(numout,*) ' number of snow layers nlay_s = ', nlay_s 305 WRITE(numout,*) ' virtual ITD param for jpl=1 (1-3) or not (0) nn_virtual_itd = ', nn_virtual_itd 306 WRITE(numout,*) ' Ice dynamics (T) or not (F) ln_icedyn = ', ln_icedyn 307 WRITE(numout,*) ' Ice thermodynamics (T) or not (F) ln_icethd = ', ln_icethd 308 WRITE(numout,*) ' maximum ice concentration for NH = ', rn_amax_n 309 WRITE(numout,*) ' maximum ice concentration for SH = ', rn_amax_s 310 310 ENDIF 311 !312 311 ! !--- check consistency 313 312 IF ( jpl > 1 .AND. nn_virtual_itd == 1 ) THEN … … 323 322 IF( ln_bdy .AND. ln_icediachk ) CALL ctl_warn('par_init: online conservation check does not work with BDY') 324 323 ! 325 rdt_ice = REAL(nn_fsbc) * rdt !--- sea-ice timestep and i nverse324 rdt_ice = REAL(nn_fsbc) * rdt !--- sea-ice timestep and its inverse 326 325 r1_rdtice = 1._wp / rdt_ice 327 IF( lwp ) WRITE(numout,*) ' ice timestep rdt_ice = ', rdt_ice 326 IF(lwp) WRITE(numout,*) 327 IF(lwp) WRITE(numout,*) ' ice timestep rdt_ice = nn_fsbc*rdt = ', rdt_ice 328 328 ! 329 329 r1_nlay_i = 1._wp / REAL( nlay_i, wp ) !--- inverse of nlay_i and nlay_s … … 356 356 h_s_b(:,:,:) = 0._wp 357 357 END WHERE 358 358 ! 359 359 ! ice velocities & total concentration 360 360 at_i_b(:,:) = SUM( a_i_b(:,:,:), dim=3 ) … … 412 412 tau_icebfr(:,:) = 0._wp ! landfast ice param only (clem: important to keep the init here) 413 413 cnd_ice (:,:,:) = 0._wp ! initialisation of the effective conductivity at the top of ice/snow (Jules coupling) 414 414 ! 415 415 END SUBROUTINE diag_set0 416 416
Note: See TracChangeset
for help on using the changeset viewer.