Changeset 15299 for NEMO/trunk/src/OCE/LBC/mppini.F90
- Timestamp:
- 2021-09-28T17:28:00+02:00 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/LBC/mppini.F90
r15296 r15299 1170 1170 zmsk(jh+1:jh+Ni_0,jh+1:jh+Nj_0) = REAL(COUNT(lloce, dim = 3), wp) ! define inner domain -> need REAL to use lbclnk 1171 1171 CALL lbc_lnk('mppini', zmsk, 'T', 1._wp, khls = jh) ! fill halos 1172 ! Beware, coastal F points can be used in the code -> we may need communications for these points F points even if tmask = 0 1173 ! -> the mask we must use here is equal to 1 as soon as one of the 4 neighbours is oce (sum of the mask, not multiplication) 1174 zmsk(jh+1:jh+Ni_0,jh+1:jh+Nj_0) = zmsk(jh+1:jh+Ni_0,jh+1 :jh+Nj_0 ) + zmsk(jh+1+1:jh+Ni_0+1,jh+1 :jh+Nj_0 ) & 1175 & + zmsk(jh+1:jh+Ni_0,jh+1+1:jh+Nj_0+1) + zmsk(jh+1+1:jh+Ni_0+1,jh+1+1:jh+Nj_0+1) 1176 CALL lbc_lnk('mppini', zmsk, 'T', 1._wp, khls = jh) ! fill halos again! 1172 1177 ! 1173 1178 iiwe = jh ; iiea = Ni_0 ! bottom-left corner - 1 of the sent data
Note: See TracChangeset
for help on using the changeset viewer.