Changeset 13275
- Timestamp:
- 2020-07-08T19:36:41+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/LBC/mppini.F90
r13269 r13275 766 766 DO jj = 1, knbj 767 767 DO ji = 2, knbi 768 kimppt(ji,jj) = kimppt(ji-1,jj) + klci(ji-1,jj) - 2 * nn_hls768 kimppt(ji,jj) = kimppt(ji-1,jj) + klci(ji-1,jj) - i2hls 769 769 END DO 770 770 END DO … … 774 774 DO jj = 2, knbj 775 775 DO ji = 1, knbi 776 kjmppt(ji,jj) = kjmppt(ji,jj-1) + klcj(ji,jj-1) - 2 * nn_hls776 kjmppt(ji,jj) = kjmppt(ji,jj-1) + klcj(ji,jj-1) - i2hls 777 777 END DO 778 778 END DO … … 1096 1096 IF( iarea == inbj ) THEN ! the last line was not read 1097 1097 IF( jperio == 2 .OR. jperio == 7 ) THEN ! north-south periodocity 1098 CALL readbot_strip( 1, 1, lloce(2:inx-1,iny) ) ! read the first line -> last line of lloce 1099 ELSE 1100 lloce(2:inx-1,iny) = .FALSE. ! closed boundary 1098 CALL readbot_strip( 1, 1, lloce(2:inx-1,iny) ) ! read the first line -> last line of lloce 1099 ELSEIF( jperio == 3 .OR. jperio == 4 ) THEN ! north-pole folding T-pivot, T-point 1100 lloce(2,iny) = lloce(2,iny-2) ! here we have 1 halo (even if nn_hls>1) 1101 DO ji = 3,inx-1 1102 lloce(ji,iny ) = lloce(inx-ji+2,iny-2) ! ok, we have at least 3 lines 1103 END DO 1104 DO ji = inx/2+2,inx-1 1105 lloce(ji,iny-1) = lloce(inx-ji+2,iny-1) 1106 END DO 1107 ELSEIF( jperio == 5 .OR. jperio == 6 ) THEN ! north-pole folding F-pivot, T-point, 1 halo 1108 lloce(inx/2+1,iny-1) = lloce(inx/2,iny-1) ! here we have 1 halo (even if nn_hls>1) 1109 lloce(inx -1,iny-1) = lloce(2 ,iny-1) 1110 DO ji = 2,inx-1 1111 lloce(ji,iny) = lloce(inx-ji+1,iny-1) 1112 END DO 1113 ELSE ! closed boundary 1114 lloce(2:inx-1,iny) = .FALSE. 1101 1115 ENDIF 1102 1116 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.