Changeset 11201 for NEMO/branches/2019/ENHANCE-03_domcfg/src/dommsk.F90
- Timestamp:
- 2019-07-01T12:10:15+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/ENHANCE-03_domcfg/src/dommsk.F90
r11129 r11201 24 24 !!---------------------------------------------------------------------- 25 25 USE dom_oce ! ocean space and time domain 26 USE domwri ! domain: write the meshmask file 26 27 USE bdy_oce ! open boundary 27 28 ! … … 60 61 !! and ko_bot, the indices of the fist and last ocean t-levels which 61 62 !! are either defined in usrdef_zgr or read in zgr_read. 62 !! The velocity masks (umask, vmask , wmask, wumask, wvmask)63 !! The velocity masks (umask, vmask) 63 64 !! are deduced from a product of the two neighboring tmask. 64 65 !! The vorticity mask (fmask) is deduced from tmask taking … … 75 76 !! due to cyclic or North Fold boundaries as well as MPP halos. 76 77 !! 77 !! ** Action : tmask, umask, vmask, wmask , wumask, wvmask: land/ocean mask78 !! ** Action : tmask, umask, vmask, wmask : land/ocean mask 78 79 !! at t-, u-, v- w, wu-, and wv-points (=0. or 1.) 79 80 !! fmask : land/ocean mask at f-point (=0., or =1., or … … 188 189 !----------------------------------------- 189 190 wmask (:,:,1) = tmask(:,:,1) ! surface 190 wumask(:,:,1) = umask(:,:,1)191 wvmask(:,:,1) = vmask(:,:,1)192 191 DO jk = 2, jpk ! interior values 193 192 wmask (:,:,jk) = tmask(:,:,jk) * tmask(:,:,jk-1) 194 wumask(:,:,jk) = umask(:,:,jk) * umask(:,:,jk-1)195 wvmask(:,:,jk) = vmask(:,:,jk) * vmask(:,:,jk-1)196 193 END DO 197 194 … … 202 199 ssumask(:,:) = MAXVAL( umask(:,:,:), DIM=3 ) 203 200 ssvmask(:,:) = MAXVAL( vmask(:,:,:), DIM=3 ) 204 205 201 206 202 ! Interior domain mask (used for global sum) … … 289 285 ENDIF 290 286 ! 287 ! write out mesh mask 288 IF ( nn_msh > 0 ) CALL dom_wri 289 ! 291 290 END SUBROUTINE dom_msk 292 291
Note: See TracChangeset
for help on using the changeset viewer.