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/sbcflx.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/sbcflx.F90

    r9656 r9727  
    142142         qns(:,:) = qns(:,:) - emp(:,:) * sst_m(:,:) * rcp        ! mass flux is at SST 
    143143         ! 
     144         qns(:,:) = qns(:,:) * tmask(:,:,1) 
     145         emp(:,:) = emp(:,:) * tmask(:,:,1) 
     146         ! 
    144147         !                                                        ! module of wind stress and wind speed at T-point 
    145148         zcoef = 1. / ( zrhoa * zcdrag ) 
Note: See TracChangeset for help on using the changeset viewer.