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 14735 for NEMO/branches/UKMO/NEMO_4.0.4_penetrating_solar/src/OCE – NEMO

Ignore:
Timestamp:
2021-04-20T18:41:39+02:00 (3 years ago)
Author:
dancopsey
Message:

Allow deposition alongside sublimation

File:
1 edited

Legend:

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

    r14616 r14735  
    19641964         zqevap_ice(:,:,jl) = -zevap_ice(:,:,jl) * ( ( rt0 - t1_ice(:,:,jl) ) * rcpi + rLfus ) 
    19651965 
    1966          ! This enthalpy change should always be negative as only positive sublimation is used (energy loss from the ice). 
    1967          WHERE( zqevap_ice(:,:,jl) > 0._wp ) zqevap_ice(:,:,jl) = 0._wp 
    19681966      END DO 
    19691967 
Note: See TracChangeset for help on using the changeset viewer.