Changeset 9615
- Timestamp:
- 2018-05-22T10:41:34+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_diag_bitcomp/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90
r9614 r9615 252 252 DO ji = iif+1, iil-1 253 253 tmask_i(ji,nlej-1) = tmask_i(ji,nlej-1) * tpol(mig(ji)) 254 tmask_i_3d(ji,nlej-1,:) = tmask_i_3d(ji,nlej-1,:) * tpol(mig(ji)) 254 ! It would seem logical that the following SHOULD be applied, 255 ! but the existing code in iom.F90 which we are trying to 256 ! replicate, and where we aim to use this array simply uses 257 ! tmask which does NOT account for masking in the N-fold. 258 ! tmask_i_3d(ji,nlej-1,:) = tmask_i_3d(ji,nlej-1,:) * tpol(mig(ji)) 255 259 END DO 256 260 ENDIF … … 275 279 & * tmask(ji,jj+1,jk) * tmask(ji+1,jj+1,jk) 276 280 END DO 277 END DO 281 END DO 278 282 END DO 279 283 ! (ISF) MIN(1,SUM(umask)) is here to check if you have effectively at least 1 wet u point … … 296 300 297 301 ! Set up interior 3d U mask 298 umask_i_3d(:,:,:) = umask(:,:,:) 302 umask_i_3d(2:jpim1,:,:) = tmask(2:jpim1,:,:) + tmask(3:jpi,:,:) 303 CALL lbc_lnk( umask_i_3d, 'U', 1. ) 299 304 ! Now mask out any wrap columns 300 305 umask_i_3d( 1 :iif,:,:) = 0._wp ! first columns … … 305 310 306 311 ! Set up interior 3d V mask 307 vmask_i_3d(:,:,:) = vmask(:,:,:) 312 vmask_i_3d(:,2:jpjm1,:) = tmask(:,2:jpjm1,:) + tmask(:,3:jpj,:) 313 CALL lbc_lnk( vmask_i_3d, 'V', 1. ) 308 314 ! Now mask out any wrap columns 309 315 vmask_i_3d( 1 :iif,:,:) = 0._wp ! first columns
Note: See TracChangeset
for help on using the changeset viewer.