Changeset 10173
- Timestamp:
- 2018-10-05T14:38:01+02:00 (6 years ago)
- Location:
- NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC/lbc_nfd_ext_generic.h90
r10068 r10173 106 106 ARRAY_IN(ji,ipj+jh,:,:,jf) = SGN_IN(jf) * ARRAY_IN(iju,ipj-1-jh,:,:,jf) 107 107 END DO 108 ARRAY_IN(jpiglo,ipj+jh,:,:,jf) = SGN_IN(jf) * ARRAY_IN( 1,ipj-1-jh,:,:,jf)108 ARRAY_IN(jpiglo,ipj+jh,:,:,jf) = SGN_IN(jf) * ARRAY_IN(jpiglo-2,ipj-1-jh,:,:,jf) 109 109 END DO 110 110 CASE ( 'V' ) ! V-point … … 125 125 ARRAY_IN(ji,ipj+jh ,:,:,jf) = SGN_IN(jf) * ARRAY_IN(iju,ipj-2-jh,:,:,jf) 126 126 END DO 127 ARRAY_IN(jpiglo,ipj+jh,:,:,jf) = SGN_IN(jf) * ARRAY_IN( 1,ipj-2-jh,:,:,jf)127 ARRAY_IN(jpiglo,ipj+jh,:,:,jf) = SGN_IN(jf) * ARRAY_IN(jpiglo-2,ipj-2-jh,:,:,jf) 128 128 END DO 129 129 DO ji = jpiglo/2+1, jpiglo-1 -
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC/lbc_nfd_generic.h90
r10068 r10173 129 129 ARRAY_IN(ji,ipj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(iju,ipj-1,:,:,jf) 130 130 END DO 131 ARRAY_IN(jpiglo,ipj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(1,ipj-1,:,:,jf)131 ARRAY_IN(jpiglo,ipj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(jpiglo-2,ipj-1,:,:,jf) 132 132 CASE ( 'V' ) ! V-point 133 133 DO ji = 1, jpiglo … … 144 144 ARRAY_IN(ji,ipj ,:,:,jf) = SGN_IN(jf) * ARRAY_IN(iju,ipj-2,:,:,jf) 145 145 END DO 146 ARRAY_IN(jpiglo,ipj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(1,ipj-2,:,:,jf)146 ARRAY_IN(jpiglo,ipj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(jpiglo-2,ipj-2,:,:,jf) 147 147 DO ji = jpiglo/2+1, jpiglo-1 148 148 iju = jpiglo-ji -
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC/lbc_nfd_nogather_generic.h90
r10068 r10173 200 200 ENDIF 201 201 ! 202 CASE ( 'I' ) ! ice U-V point (I-point)203 IF( nimpp /= 1 ) THEN204 startloop = 1205 ELSE206 startloop = 3207 ARRAY_IN(2,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY2_IN(3,ijpjm1,:,:,jf)208 ENDIF209 DO ji = startloop, nlci210 iju = jpiglo - ji - nimpp - nfiimpp(isendto(1),jpnj) + 5211 ARRAY_IN(ji,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY2_IN(iju,ijpjm1,:,:,jf)212 END DO213 202 END SELECT 214 203 ! … … 233 222 END DO 234 223 IF((nimpp + nlci - 1) .eq. jpiglo) THEN 235 ARRAY_IN(nlci,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY 2_IN(1,ijpj-1,:,:,jf)224 ARRAY_IN(nlci,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(nlci-2,ijpj-1,:,:,jf) 236 225 ENDIF 237 226 ! … … 267 256 END DO 268 257 IF((nimpp + nlci - 1) .eq. jpiglo) THEN 269 ARRAY_IN(nlci,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY 2_IN(1,ijpj-2,:,:,jf)258 ARRAY_IN(nlci,ijpj,:,:,jf) = SGN_IN(jf) * ARRAY_IN(nlci-2,ijpj-2,:,:,jf) 270 259 ENDIF 271 260 ! … … 288 277 END DO 289 278 ENDIF 290 !291 CASE ( 'I' ) ! ice U-V point (I-point)292 IF( nimpp /= 1 ) THEN293 startloop = 1294 ELSE295 startloop = 2296 ENDIF297 IF( nimpp + nlci - 1 /= jpiglo ) THEN298 endloop = nlci299 ELSE300 endloop = nlci - 1301 ENDIF302 DO ji = startloop , endloop303 ijt = jpiglo - ji - nimpp - nfiimpp(isendto(1),jpnj) + 4304 ARRAY_IN(ji,ijpj,:,:,jf) = 0.5 * (ARRAY_IN(ji,ijpjm1,:,:,jf) + SGN_IN(jf) * ARRAY2_IN(ijt,ijpjm1,:,:,jf))305 END DO306 279 ! 307 280 END SELECT
Note: See TracChangeset
for help on using the changeset viewer.