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 991 for branches/dev_003_CPL/NEMO/LIM_SRC_3/limthd_dh.F90 – NEMO

Ignore:
Timestamp:
2008-05-23T17:55:55+02:00 (16 years ago)
Author:
smasson
Message:

dev_003_CPL: preliminary draft (not working), see ticket #155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_003_CPL/NEMO/LIM_SRC_3/limthd_dh.F90

    r990 r991  
    384384         ! if qla is positive (upwards), heat goes to the atmosphere, therefore 
    385385         ! snow sublimates, if qla is negative (downwards), snow condensates 
    386          zdh_s_sub(ji)   =  - parsub * qla_ice_1d(ji) / ( rhosn * lsub ) * rdt_ice 
     386          
     387         IF ( .NOT. lk_cpl ) THEN  
     388            zdh_s_sub(ji) = - parsub * qla_ice_1d(ji) / ( rhosn * lsub ) * rdt_ice 
     389         ELSE IF (parsub == 1) THEN  
     390            CALL ctl_stop( 'In coupled mode, use parsub = 0 or send dqla' )  
     391         ELSE 
     392            zdh_s_sub(ji)  = 0.0 
     393         ENDIF 
    387394         dh_s_tot(ji)    =  dh_s_tot(ji) + zdh_s_sub(ji) 
    388395         zdhcf           =  ht_s_b(ji) + zdh_s_sub(ji)  
Note: See TracChangeset for help on using the changeset viewer.