Changeset 15296
- Timestamp:
- 2021-09-28T09:48:20+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/LBC/mppini.F90
r15267 r15296 168 168 IF(lwp) THEN 169 169 WRITE(numout,*) ' Namelist nammpp' 170 IF( jpni < 1 .OR. jpnj < 1 170 IF( jpni < 1 .OR. jpnj < 1 ) THEN 171 171 WRITE(numout,*) ' jpni and jpnj will be calculated automatically' 172 172 ELSE … … 712 712 isziref = jpiglo*jpjglo+1 ! define a value that is larger than the largest possible 713 713 iszjref = jpiglo*jpjglo+1 714 ! 715 ! WARNING, see also init_excl_landpt: minimum subdomain size defined here according to nn_hls (and not n_hlsmax) 716 ! --> If, one day, we want to use local halos largers than nn_hls, we must replace nn_hls by n_hlsmax 714 717 ! 715 718 iszimin = 3*nn_hls ! minimum size of the MPI subdomain so halos are always adressing neighbor inner domain … … 1156 1159 l_IdoNFold = .FALSE. 1157 1160 ! 1158 DO jh = 1, n_hlsmax ! different halo size 1161 ! WARNING, see also bestpartition: minimum subdomain size defined in bestpartition according to nn_hls. 1162 ! If, one day, we want to use local halos largers than nn_hls, we must replace nn_hls by n_hlsmax in bestpartition 1163 ! 1164 DO jh = 1, MIN(nn_hls, n_hlsmax) ! different halo size 1159 1165 ! 1160 1166 ipi = Ni_0 + 2*jh ! local domain size … … 1165 1171 CALL lbc_lnk('mppini', zmsk, 'T', 1._wp, khls = jh) ! fill halos 1166 1172 ! 1167 iiwe = jh ; iiea = Ni_0 ! bottom-left cor fer - 1 of the sent data1173 iiwe = jh ; iiea = Ni_0 ! bottom-left corner - 1 of the sent data 1168 1174 ijso = jh ; ijno = Nj_0 1169 1175 IF( nn_comm == 1 ) THEN … … 1185 1191 IF( NINT(SUM( zmsk(iiea+1:iiea+jh ,ijno+1:ijno+jh ) )) == 0 ) mpiSnei(jh,jpne) = -1 1186 1192 ! 1187 iiwe = iiwe-jh ; iiea = iiea+jh ! bottom-left cor fer - 1 of the received data1193 iiwe = iiwe-jh ; iiea = iiea+jh ! bottom-left corner - 1 of the received data 1188 1194 ijso = ijso-jh ; ijno = ijno+jh 1189 1195 ! do not send if we send only land points
Note: See TracChangeset
for help on using the changeset viewer.