Changeset 14857 for NEMO/trunk/tests/ISOMIP+/MY_SRC/dtatsd.F90
- Timestamp:
- 2021-05-12T18:47:25+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/tests/ISOMIP+/MY_SRC/dtatsd.F90
r14090 r14857 168 168 INTEGER :: ji, jj, jk, jl, jkk ! dummy loop indicies 169 169 INTEGER :: ik, il0, il1, ii0, ii1, ij0, ij1 ! local integers 170 INTEGER :: itile171 170 REAL(wp):: zl, zi ! local scalars 172 171 REAL(wp), DIMENSION(jpk) :: ztp, zsp ! 1D workspace 173 172 !!---------------------------------------------------------------------- 174 173 ! 175 IF( ntile == 0 .OR. ntile == 1 ) THEN ! Do only for the full domain 176 itile = ntile 177 IF( ln_tile ) CALL dom_tile( ntsi, ntsj, ntei, ntej, ktile = 0 ) ! Use full domain 174 IF( .NOT. l_istiled .OR. ntile == 1 ) THEN ! Do only for the full domain 175 IF( ln_tile ) CALL dom_tile_stop( ldhold=.TRUE. ) ! Use full domain 178 176 179 177 SELECT CASE(cddta) … … 186 184 END SELECT 187 185 188 IF( ln_tile ) CALL dom_tile ( ntsi, ntsj, ntei, ntej, ktile = itile) ! Revert to tile domain186 IF( ln_tile ) CALL dom_tile_start( ldhold=.TRUE. ) ! Revert to tile domain 189 187 ENDIF 190 188 ! … … 206 204 IF( ln_sco ) THEN !== s- or mixed s-zps-coordinate ==! 207 205 ! 208 IF( ntile == 0.OR. ntile == 1 ) THEN ! Do only on the first tile206 IF( .NOT. l_istiled .OR. ntile == 1 ) THEN ! Do only on the first tile 209 207 IF( kt == nit000 .AND. lwp )THEN 210 208 WRITE(numout,*) … … 213 211 ENDIF 214 212 ! 215 DO_2D( 1, 1, 1, 1) ! vertical interpolation of T & S213 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) ! vertical interpolation of T & S 216 214 DO jk = 1, jpk ! determines the intepolated T-S profiles at each (i,j) points 217 215 zl = gdept_0(ji,jj,jk) … … 248 246 ! 249 247 IF( ln_zps ) THEN ! zps-coordinate (partial steps) interpolation at the last ocean level 250 DO_2D( 1, 1, 1, 1)248 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 251 249 ik = mbkt(ji,jj) 252 250 IF( ik > 1 ) THEN
Note: See TracChangeset
for help on using the changeset viewer.