Changeset 11248 for branches/UKMO/dev_isf_remapping_UKESM_GO6package_r9314/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90
- Timestamp:
- 2019-07-10T19:01:37+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_isf_remapping_UKESM_GO6package_r9314/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90
r9513 r11248 201 201 END DO 202 202 END DO 203 ! 204 ! (ISF) define barotropic mask and mask the ice shelf point 205 DO jj = 1, jpj 206 DO ji = 1, jpi ! vector loop 207 ssmask(ji,jj) = MIN(1._wp,SUM(tmask(ji,jj,:))) 208 END DO 209 END DO 203 210 ! 204 211 IF ( ln_isfsubgl ) THEN … … 222 229 WHERE (tmask(:,:,jk) < 0) tmask(:,:,jk) = 1 ! restore mask value 223 230 END DO 231 ! update ssmask 232 DO jj = 1, jpj 233 DO ji = 1, jpi ! vector loop 234 ssmask(ji,jj) = MIN(1._wp,SUM(tmask(ji,jj,:))) 235 END DO 236 END DO 237 ! update mbathy, misfdep, bathy, risfdep 238 bathy(:,:) = bathy(:,:) * ssmask(:,:) 239 risfdep(:,:) = risfdep(:,:) * ssmask(:,:) 240 WHERE ( ssmask(:,:) == 0._wp ) 241 misfdep(:,:) = 1 242 mbathy(:,:) = 0 243 END WHERE 224 244 END IF 225 245 226 ! (ISF) define barotropic mask and mask the ice shelf point227 DO jj = 1, jpj228 DO ji = 1, jpi ! vector loop229 ssmask(ji,jj) = MIN(1._wp,SUM(tmask(ji,jj,:)))230 END DO231 END DO232 246 !!gm ???? 233 247 #if defined key_zdfkpp
Note: See TracChangeset
for help on using the changeset viewer.