Changeset 2251 for CONFIG/UNIFORM/v6/IPSLCM6/SOURCES/NEMO/trc_oce.F90
- Timestamp:
- 05/26/14 12:41:58 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/SOURCES/NEMO/trc_oce.F90
r2189 r2251 67 67 !!---------------------------------------------------------------------- 68 68 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 69 !! $Id: trc_oce.F90 3770 2013-02-04 10:51:28Z cetlod$69 !! $Id: trc_oce.F90 4623 2014-04-22 15:21:41Z acc $ 70 70 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 71 71 !!---------------------------------------------------------------------- … … 178 178 zrgb(1,61) = 10.000 ; zrgb(2,61) = 0.47804 ; zrgb(3,61) = 0.27178 ; zrgb(4,61) = 0.56870 179 179 ! 180 ! 180 181 prgb(:,:) = zrgb(2:4,:) 181 182 ! … … 270 271 !!---------------------------------------------------------------------- 271 272 ! 272 ! It is not necessary to compute anything bel low the following depth273 ! It is not necessary to compute anything below the following depth 273 274 zhext = prldex * ( LOG(10._wp) * zprec + LOG(pqsr_frc) ) 274 275 ! … … 276 277 pjl = jpkm1 277 278 DO jk = jpkm1, 1, -1 278 zem = MAXVAL( fsdepw(:,:,jk+1) * tmask(:,:,jk) ) 279 IF( zem >= zhext ) pjl = jk ! last T-level reached by Qsr 279 IF(SUM(tmask(:,:,jk)) > 0 ) THEN 280 zem = MAXVAL( fsdepw(:,:,jk+1) * tmask(:,:,jk) ) 281 IF( zem >= zhext ) pjl = jk ! last T-level reached by Qsr 282 ELSE 283 pjl = jk ! or regional sea-bed depth 284 ENDIF 280 285 END DO 281 286 !
Note: See TracChangeset
for help on using the changeset viewer.