Changeset 14537 for NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/TRA/traldf_lap_blp.F90
- Timestamp:
- 2021-02-23T15:18:28+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/TRA/traldf_lap_blp.F90
r14215 r14537 103 103 ! 104 104 INTEGER :: ji, jj, jk, jn ! dummy loop indices 105 INTEGER :: isi, iei, isj, iej ! local integers106 105 REAL(wp) :: zsign ! local scalars 107 106 REAL(wp), DIMENSION(A2D(nn_hls),jpk) :: ztu, ztv, zaheeu, zaheev 108 107 !!---------------------------------------------------------------------- 109 108 ! 110 IF( ntile == 0.OR. ntile == 1 ) THEN ! Do only on the first tile109 IF( .NOT. l_istiled .OR. ntile == 1 ) THEN ! Do only on the first tile 111 110 IF( kt == nit000 .AND. lwp ) THEN 112 111 WRITE(numout,*) … … 126 125 ELSE ; zsign = -1._wp 127 126 ENDIF 128 129 IF( ntsi == Nis0 ) THEN ; isi = nn_hls - 1 ; ELSE ; isi = 0 ; ENDIF ! Avoid double-counting when using tiling130 IF( ntsj == Njs0 ) THEN ; isj = nn_hls - 1 ; ELSE ; isj = 0 ; ENDIF131 IF( ntei == Nie0 ) THEN ; iei = nn_hls - 1 ; ELSE ; iei = 0 ; ENDIF132 IF( ntej == Nje0 ) THEN ; iej = nn_hls - 1 ; ELSE ; iej = 0 ; ENDIF133 127 134 128 DO_3D( nn_hls, nn_hls-1, nn_hls, nn_hls-1, 1, jpkm1 ) !== First derivative (gradient) ==! … … 158 152 ENDIF 159 153 ! 160 DO_3D ( isi, iei, isj, iej, 1, jpkm1 )!== Second derivative (divergence) added to the general tracer trends ==!154 DO_3D_OVR( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1, 1, jpkm1 ) !== Second derivative (divergence) added to the general tracer trends ==! 161 155 pt_rhs(ji,jj,jk,jn) = pt_rhs(ji,jj,jk,jn) + ( ztu(ji,jj,jk) - ztu(ji-1,jj,jk) & 162 156 & + ztv(ji,jj,jk) - ztv(ji,jj-1,jk) ) & … … 211 205 !!--------------------------------------------------------------------- 212 206 ! 213 IF( ntile == 0.OR. ntile == 1 ) THEN ! Do only on the first tile207 IF( .NOT. l_istiled .OR. ntile == 1 ) THEN ! Do only on the first tile 214 208 IF( kt == kit000 .AND. lwp ) THEN 215 209 WRITE(numout,*)
Note: See TracChangeset
for help on using the changeset viewer.