Changeset 15083 for NEMO/branches/2021
- Timestamp:
- 2021-07-05T18:29:04+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/TRA/traqsr.F90
r15028 r15083 789 789 DO jk = jpkm1, 1, -1 790 790 IF( SUM( tmask(:,:,jk) ) > 0 ) THEN ! ocean point at that level 791 zdw = MAXVAL( gdepw_0(:,:,jk+1) * wmask(:,:,jk)) ! max w-depth at jk+1 level792 ze3t = MINVAL( e3t_0(:,:,jk ) 793 zhext = - pL * LOG( zcoef * ze3t ) ! extinction depth794 IF( zdw >= zhext ) klev = jk ! last T-level reached by Qsr791 zdw = MAXVAL( gdepw_0(:,:,jk+1) * wmask(:,:,jk) ) ! max w-depth at jk+1 level 792 ze3t = MINVAL( e3t_0(:,:,jk ) , mask=(wmask(:,:,jk+1)==1) ) ! minimum e3t at jk level 793 zhext = - pL * LOG( zcoef * ze3t ) ! extinction depth 794 IF( zdw >= zhext ) klev = jk ! last T-level reached by Qsr 795 795 ELSE ! only land point at level jk 796 klev = jk ! local domain sea-bed level796 klev = jk ! local domain sea-bed level 797 797 ENDIF 798 798 END DO
Note: See TracChangeset
for help on using the changeset viewer.