Changeset 13305 for NEMO/trunk/src/OCE/SBC/sbcblk.F90
- Timestamp:
- 2020-07-14T19:12:25+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/SBC/sbcblk.F90
r13295 r13305 568 568 zwnd_j(:,:) = 0._wp 569 569 CALL wnd_cyc( kt, zwnd_i, zwnd_j ) ! add analytical tropical cyclone (Vincent et al. JGR 2012) 570 DO_2D( 1, 1, 1, 1)570 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 571 571 zwnd_i(ji,jj) = pwndi(ji,jj) + zwnd_i(ji,jj) 572 572 zwnd_j(ji,jj) = pwndj(ji,jj) + zwnd_j(ji,jj) … … 576 576 #else 577 577 ! ... scalar wind module at T-point (not masked) 578 DO_2D( 1, 1, 1, 1)578 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 579 579 wndm(ji,jj) = SQRT( pwndi(ji,jj) * pwndi(ji,jj) + pwndj(ji,jj) * pwndj(ji,jj) ) 580 580 END_2D … … 628 628 ! use scalar version of gamma_moist() ... 629 629 IF( ln_tpot ) THEN 630 DO_2D( 1, 1, 1, 1)630 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 631 631 ztpot(ji,jj) = ptair(ji,jj) + gamma_moist( ptair(ji,jj), zqair(ji,jj) ) * rn_zqt 632 632 END_2D … … 690 690 691 691 IF( ln_abl ) THEN !== ABL formulation ==! multiplication by rho_air and turbulent fluxes computation done in ablstp 692 DO_2D( 1, 1, 1, 1)692 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 693 693 zztmp = zU_zu(ji,jj) 694 694 wndm(ji,jj) = zztmp ! Store zU_zu in wndm to compute ustar2 in ablmod … … 710 710 pevp(:,:) = pevp(:,:) * tmask(:,:,1) 711 711 712 DO_2D( 1, 1, 1, 1)712 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 713 713 IF( wndm(ji,jj) > 0._wp ) THEN 714 714 zztmp = taum(ji,jj) / wndm(ji,jj) … … 828 828 829 829 ! use scalar version of L_vap() for AGRIF compatibility 830 DO_2D( 1, 1, 1, 1)830 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 831 831 zqla(ji,jj) = - L_vap( ztskk(ji,jj) ) * pevp(ji,jj) ! Latent Heat flux !!GS: possibility to add a global qla to avoid recomputation after abl update 832 832 END_2D … … 933 933 ! ------------------------------------------------------------ ! 934 934 ! C-grid ice dynamics : U & V-points (same as ocean) 935 DO_2D( 1, 1, 1, 1)935 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 936 936 wndm_ice(ji,jj) = SQRT( pwndi(ji,jj) * pwndi(ji,jj) + pwndj(ji,jj) * pwndj(ji,jj) ) 937 937 END_2D … … 978 978 zztmp1 = 11637800.0_wp 979 979 zztmp2 = -5897.8_wp 980 DO_2D( 1, 1, 1, 1)980 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 981 981 pcd_dui(ji,jj) = zcd_dui (ji,jj) 982 982 pseni (ji,jj) = wndm_ice(ji,jj) * Ch_ice(ji,jj) … … 1233 1233 ! 1234 1234 DO jl = 1, jpl 1235 DO_2D( 1, 1, 1, 1)1235 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 1236 1236 zhe = ( rn_cnd_s * phi(ji,jj,jl) + rcnd_i * phs(ji,jj,jl) ) * zfac ! Effective thickness 1237 1237 IF( zhe >= zfac2 ) zgfac(ji,jj,jl) = MIN( 2._wp, 0.5_wp * ( 1._wp + LOG( zhe * zfac3 ) ) ) ! Enhanced conduction factor … … 1248 1248 ! 1249 1249 DO jl = 1, jpl 1250 DO_2D( 1, 1, 1, 1)1250 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 1251 1251 ! 1252 1252 zkeff_h = zfac * zgfac(ji,jj,jl) / & ! Effective conductivity of the snow-ice system divided by thickness
Note: See TracChangeset
for help on using the changeset viewer.