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 9727 for NEMO/trunk/src/OCE/SBC/sbcrnf.F90 – NEMO

Ignore:
Timestamp:
2018-06-01T18:52:17+02:00 (6 years ago)
Author:
mathiot
Message:

Fix for #2083 (surface flux not masked: bug if isf cavity) in trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbcrnf.F90

    r9598 r9727  
    118118      IF( MOD( kt - 1, nn_fsbc ) == 0 ) THEN 
    119119         ! 
    120          IF( .NOT. l_rnfcpl )   rnf(:,:) = rn_rfact * ( sf_rnf(1)%fnow(:,:,1) )       ! updated runoff value at time step kt 
     120         IF( .NOT. l_rnfcpl )   rnf(:,:) = rn_rfact * ( sf_rnf(1)%fnow(:,:,1) ) * tmask(:,:,1)       ! updated runoff value at time step kt 
    121121         ! 
    122122         !                                                           ! set temperature & salinity content of runoffs 
Note: See TracChangeset for help on using the changeset viewer.