Changeset 232
- Timestamp:
- 2005-03-22T11:12:44+01:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/lbclnk.F90
r88 r232 1 1 MODULE lbclnk 2 2 !!====================================================================== 3 !! *** MODULE zdftke***3 !! *** MODULE lbclnk *** 4 4 !! Ocean : lateral boundary conditions 5 5 !!===================================================================== … … 156 156 DO ji = 1, jpi-1 157 157 iju = jpi-ji+1 158 pt3d(ji,jpj-1,jk) = p t3d(iju,jpj-2,jk)159 pt3d(ji,jpj ,jk) = p t3d(iju,jpj-3,jk)158 pt3d(ji,jpj-1,jk) = psgn * pt3d(iju,jpj-2,jk) 159 pt3d(ji,jpj ,jk) = psgn * pt3d(iju,jpj-3,jk) 160 160 END DO 161 161 END SELECT … … 192 192 DO ji = 1, jpi-1 193 193 iju = jpi-ji 194 pt3d(ji,jpj ,jk) = p t3d(iju,jpj-2,jk)194 pt3d(ji,jpj ,jk) = psgn * pt3d(iju,jpj-2,jk) 195 195 END DO 196 196 DO ji = jpi/2+1, jpi-1 197 197 iju = jpi-ji 198 pt3d(ji,jpjm1,jk) = p t3d(iju,jpjm1,jk)198 pt3d(ji,jpjm1,jk) = psgn * pt3d(iju,jpjm1,jk) 199 199 END DO 200 200 END SELECT … … 328 328 DO ji = 1, jpi-1 329 329 iju = jpi - ji + 1 330 pt2d(ji,jpj-1) = p t2d(iju,jpj-2)331 pt2d(ji,jpj ) = p t2d(iju,jpj-3)330 pt2d(ji,jpj-1) = psgn * pt2d(iju,jpj-2) 331 pt2d(ji,jpj ) = psgn * pt2d(iju,jpj-3) 332 332 END DO 333 333 … … 377 377 DO ji = 1, jpi-1 378 378 iju = jpi-ji 379 pt2d(ji,jpj ) = p t2d(iju,jpj-2)379 pt2d(ji,jpj ) = psgn * pt2d(iju,jpj-2) 380 380 END DO 381 381 DO ji = jpi/2+1, jpi-1 382 382 iju = jpi-ji 383 pt2d(ji,jpjm1) = p t2d(iju,jpjm1)383 pt2d(ji,jpjm1) = psgn * pt2d(iju,jpjm1) 384 384 END DO 385 385 386 386 CASE ( 'I' ) ! ice U-V point 387 pt2d( 2 ,jpj) = 0.e0 !!bug ???388 DO ji = 1 , jpim1 !!bug rob= 2,jpim1389 ijt = jpi - ji !!bug rob= ijt=jpi-ji+2 ???387 pt2d( 2 ,jpj) = 0.e0 388 DO ji = 2 , jpim1 389 ijt = jpi - ji + 2 390 390 pt2d(ji,jpj)= 0.5 * ( pt2d(ji,jpjm1) + psgn * pt2d(ijt,jpjm1) ) 391 391 END DO
Note: See TracChangeset
for help on using the changeset viewer.