New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1246 for trunk/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2009-01-06T15:10:52+01:00 (15 years ago)
Author:
ctlod
Message:

apply the tmask when increasing the vertical diffusion avt(:,:,:) in rivers mouths, see ticket: #278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/step.F90

    r1239 r1246  
    242242 
    243243      IF( ln_rnf_mouth ) THEN                                ! increase diffusivity at rivers mouths 
    244          DO jk = 2, nkrnf   ;   avt(:,:,jk) = avt(:,:,jk) + 2.e0 * rn_avt_rnf * rnfmsk(:,:)   ;   END DO 
     244         DO jk = 2, nkrnf   ;   avt(:,:,jk) = avt(:,:,jk) + 2.e0 * rn_avt_rnf * rnfmsk(:,:) * tmask(:,:,jk)   ;   END DO 
    245245      ENDIF 
    246246 
Note: See TracChangeset for help on using the changeset viewer.