- Timestamp:
- 2021-11-28T18:59:49+01:00 (3 years ago)
- Location:
- NEMO/branches/2021/ticket2632_r14588_theta_sbcblk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/ticket2632_r14588_theta_sbcblk
- Property svn:externals
-
old new 9 9 10 10 # SETTE 11 ^/utils/CI/sette@14244 sette 11 ^/utils/CI/sette@HEAD sette 12
-
- Property svn:externals
-
NEMO/branches/2021/ticket2632_r14588_theta_sbcblk/src/TOP/trcdta.F90
r14086 r15548 189 189 ptrcdta(:,:,:) = sf_trcdta(kjl)%fnow(:,:,:) * tmask(:,:,:) 190 190 ! 191 #if ! defined key_sed_off 191 192 IF( ln_sco ) THEN !== s- or mixed s-zps-coordinate ==! 192 193 ! … … 195 196 WRITE(numout,*) 'trc_dta: interpolates passive tracer data onto the s- or mixed s-z-coordinate mesh' 196 197 ENDIF 197 DO_2D( 1, 1, 1, 1) ! vertical interpolation of T & S198 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) ! vertical interpolation of T & S 198 199 DO jk = 1, jpk ! determines the intepolated T-S profiles at each (i,j) points 199 200 zl = gdept_0(ji,jj,jk) … … 220 221 ! zps-coordinate (partial steps) interpolation at the last ocean level 221 222 IF( ln_zps ) THEN 222 DO_2D( 1, 1, 1, 1)223 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 223 224 ik = mbkt(ji,jj) 224 IF( ik > 1 ) THEN225 IF( ik > 1 .AND. gdept_0(ji,jj,ik) < gdept_1d(ik) ) THEN 225 226 zl = ( gdept_1d(ik) - gdept_0(ji,jj,ik) ) / ( gdept_1d(ik) - gdept_1d(ik-1) ) 226 227 ptrcdta(ji,jj,ik) = (1.-zl) * ptrcdta(ji,jj,ik) + zl * ptrcdta(ji,jj,ik-1) … … 235 236 ! 236 237 ENDIF 238 #endif 237 239 ! Scale by multiplicative factor 238 240 ptrcdta(:,:,:) = ptrcdta(:,:,:) * rf_trfac(kjl)
Note: See TracChangeset
for help on using the changeset viewer.