Changeset 13745
- Timestamp:
- 2020-11-06T19:28:22+01:00 (4 years ago)
- Location:
- NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/OCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/OCE/DOM/domutl.F90
r13563 r13745 116 116 117 117 118 PUREFUNCTION is_tile_2d( pt )118 FUNCTION is_tile_2d( pt ) 119 119 !! 120 120 REAL(wp), DIMENSION(:,:), INTENT(in) :: pt … … 129 129 130 130 131 PUREFUNCTION is_tile_3d( pt )131 FUNCTION is_tile_3d( pt ) 132 132 !! 133 133 REAL(wp), DIMENSION(:,:,:), INTENT(in) :: pt … … 142 142 143 143 144 PUREFUNCTION is_tile_4d( pt )144 FUNCTION is_tile_4d( pt ) 145 145 !! 146 146 REAL(wp), DIMENSION(:,:,:,:), INTENT(in) :: pt -
NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/OCE/DOM/dtatsd.F90
r13553 r13745 141 141 INTEGER :: ji, jj, jk, jl, jkk ! dummy loop indicies 142 142 INTEGER :: ik, il0, il1, ii0, ii1, ij0, ij1 ! local integers 143 INTEGER :: itile 143 144 REAL(wp):: zl, zi ! local scalars 144 145 REAL(wp), DIMENSION(jpk) :: ztp, zsp ! 1D workspace … … 146 147 ! 147 148 IF( ntile == 0 .OR. ntile == 1 ) THEN ! Do only for the full domain 149 itile = ntile 148 150 IF( ln_tile ) CALL dom_tile( ntsi, ntsj, ntei, ntej, ktile = 0 ) ! Use full domain 149 151 CALL fld_read( kt, 1, sf_tsd ) !== read T & S data at kt time step ==! … … 179 181 ENDIF 180 182 !!gm end 181 IF( ln_tile ) CALL dom_tile( ntsi, ntsj, ntei, ntej, ktile = 1) ! Revert to tile domain182 ENDIF 183 ! 184 DO_3D( 0, 0, 0, 0, 1, jpk )183 IF( ln_tile ) CALL dom_tile( ntsi, ntsj, ntei, ntej, ktile = itile ) ! Revert to tile domain 184 ENDIF 185 ! 186 DO_3D( 1, 1, 1, 1, 1, jpk ) 185 187 ptsd(ji,jj,jk,jp_tem) = sf_tsd(jp_tem)%fnow(ji,jj,jk) ! NO mask 186 188 ptsd(ji,jj,jk,jp_sal) = sf_tsd(jp_sal)%fnow(ji,jj,jk) … … 225 227 ELSE !== z- or zps- coordinate ==! 226 228 ! 227 DO_3D( 0, 0, 0, 0, 1, jpk )229 DO_3D( 1, 1, 1, 1, 1, jpk ) 228 230 ptsd(ji,jj,jk,jp_tem) = ptsd(ji,jj,jk,jp_tem) * tmask(ji,jj,jk) ! Mask 229 231 ptsd(ji,jj,jk,jp_sal) = ptsd(ji,jj,jk,jp_sal) * tmask(ji,jj,jk) -
NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/OCE/DYN/dynhpg.F90
r13515 r13745 303 303 REAL(wp) :: zcoef0, zcoef1, zcoef2, zcoef3 ! temporary scalars 304 304 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zhpi, zhpj 305 REAL(wp), DIMENSION(jpi,jpj, 1) :: zgtsu, zgtsv305 REAL(wp), DIMENSION(jpi,jpj,jpts) :: zgtsu, zgtsv 306 306 REAL(wp), DIMENSION(jpi,jpj) :: zgru, zgrv 307 307 !!---------------------------------------------------------------------- -
NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/OCE/TRA/trabbl.F90
r13553 r13745 142 142 IF( ntile == 0 .OR. ntile == nijtile ) THEN ! Do only on the last tile 143 143 ! lateral boundary conditions ; just need for outputs 144 ! NOTE: The results change along the north fold if this is removed 145 CALL lbc_lnk_multi( 'trabbl', utr_bbl, 'U', 1.0_wp , vtr_bbl, 'V', 1.0_wp ) 144 146 CALL iom_put( "uoce_bbl", utr_bbl ) ! bbl i-transport 145 147 CALL iom_put( "voce_bbl", vtr_bbl ) ! bbl j-transport … … 238 240 INTEGER :: iis , iid , ijs , ijd ! local integers 239 241 INTEGER :: ikus, ikud, ikvs, ikvd ! - - 242 INTEGER :: isi, isj ! - - 240 243 REAL(wp) :: zbtr, ztra ! local scalars 241 244 REAL(wp) :: zu_bbl, zv_bbl ! - - 242 245 !!---------------------------------------------------------------------- 243 246 ! 247 IF( ntsi == Nis0 ) THEN ; isi = 1 ; ELSE ; isi = 0 ; ENDIF ! Avoid double-counting when using tiling 248 IF( ntsj == Njs0 ) THEN ; isj = 1 ; ELSE ; isj = 0 ; ENDIF 244 249 ! ! =========== 245 250 DO jn = 1, kjpt ! tracer loop 246 251 ! ! =========== 247 DO_2D( 1, 0, 1, 0 ) ! CAUTION start from i=1 to update i=2 when cyclic east-west252 DO_2D( isi, 0, isj, 0 ) ! CAUTION start from i=1 to update i=2 when cyclic east-west 248 253 IF( utr_bbl(ji,jj) /= 0.e0 ) THEN ! non-zero i-direction bbl advection 249 254 ! down-slope i/k-indices (deep) & up-slope i/k indices (shelf)
Note: See TracChangeset
for help on using the changeset viewer.