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 15746 – NEMO

Changeset 15746


Ignore:
Timestamp:
2022-03-09T12:40:43+01:00 (2 years ago)
Author:
jpalmier
Message:

includes NEMO_4.0.4_penetrating_solar_no_neg fix in to avoid conflict issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_MEDUSA_externals_GC5/src/OCE/SBC/sbccpl.F90

    r15665 r15746  
    23842384         CASE ('coupled') 
    23852385            IF (ln_scale_ice_flux) THEN 
    2386                WHERE( a_i(:,:,:) > 0.0_wp ) zqtr_ice_top(:,:,:) = frcv(jpr_qtr)%z3(:,:,:) * a_i_last_couple(:,:,:) / a_i(:,:,:) 
     2386               WHERE( a_i(:,:,:) > 0.0_wp ) zqtr_ice_top(:,:,:) = MAX(0._wp, frcv(jpr_qtr)%z3(:,:,:)) * a_i_last_couple(:,:,:) / a_i(:,:,:) 
    23872387               WHERE( a_i(:,:,:) <= 0.0_wp ) zqtr_ice_top(:,:,:) = 0.0_wp 
    23882388            ELSE 
    2389                zqtr_ice_top(:,:,:) = frcv(jpr_qtr)%z3(:,:,:) 
     2389               zqtr_ice_top(:,:,:) = MAX(0._wp, frcv(jpr_qtr)%z3(:,:,:)) 
    23902390            ENDIF 
    23912391 
Note: See TracChangeset for help on using the changeset viewer.