- Timestamp:
- 2017-09-26T15:24:17+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icedyn.F90
r8562 r8563 85 85 tau_icebfr(:,:) = 0._wp 86 86 DO jl = 1, jpl 87 WHERE( h t_i(:,:,jl) > ht_n(:,:) * rn_gamma ) tau_icebfr(:,:) = tau_icebfr(:,:) + a_i(:,:,jl) * rn_icebfr87 WHERE( h_i(:,:,jl) > ht_n(:,:) * rn_gamma ) tau_icebfr(:,:) = tau_icebfr(:,:) + a_i(:,:,jl) * rn_icebfr 88 88 END DO 89 89 IF( iom_use('tau_icebfr') ) CALL iom_put( 'tau_icebfr', tau_icebfr ) 90 90 ENDIF 91 91 92 zhmax(:,:,:) = h t_i_b(:,:,:) !-- Record max of the surrounding 9-pts ice thick. (for CALL Hbig)92 zhmax(:,:,:) = h_i_b(:,:,:) !-- Record max of the surrounding 9-pts ice thick. (for CALL Hbig) 93 93 DO jl = 1, jpl 94 94 DO jj = 2, jpjm1 95 95 DO ji = 2, jpim1 96 96 !!gm use of MAXVAL here is very probably less efficient than expending the 9 values 97 zhmax(ji,jj,jl) = MAX( epsi20, MAXVAL( h t_i_b(ji-1:ji+1,jj-1:jj+1,jl) ) )97 zhmax(ji,jj,jl) = MAX( epsi20, MAXVAL( h_i_b(ji-1:ji+1,jj-1:jj+1,jl) ) ) 98 98 END DO 99 99 END DO … … 166 166 IF ( ( zdv > 0.0 .AND. zh > phmax(ji,jj,jl) .AND. at_i_b(ji,jj) < 0.80 ) .OR. & 167 167 & ( zdv <= 0.0 .AND. zh > phmax(ji,jj,jl) ) ) THEN 168 a_i (ji,jj,jl) = v_i(ji,jj,jl) / MIN( phmax(ji,jj,jl), hi_max(jpl) ) !-- bound h t_i to hi_max (99 m)168 a_i (ji,jj,jl) = v_i(ji,jj,jl) / MIN( phmax(ji,jj,jl), hi_max(jpl) ) !-- bound h_i to hi_max (99 m) 169 169 ENDIF 170 170 !
Note: See TracChangeset
for help on using the changeset viewer.