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 3807 for branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90 – NEMO

Ignore:
Timestamp:
2013-02-13T07:29:43+01:00 (11 years ago)
Author:
gm
Message:

dev_v3_4_STABLE_2012: #997 and #898: in LIM3, no use of qla_ice in coupled mode and its capping in forced mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90

    r3801 r3807  
    3838 
    3939   !!---------------------------------------------------------------------- 
    40    !! NEMO/LIM3 4.0 , UCL - NEMO Consortium (2010) 
     40   !! NEMO/LIM3 3.4 , UCL - NEMO Consortium (2010) 
    4141   !! $Id$ 
    4242   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    317317 
    318318      DO ji = kideb, kiut 
    319          ! if qla is positive (upwards), heat goes to the atmosphere, therefore 
    320          ! snow sublimates, if qla is negative (downwards), snow condensates 
     319         ! qla_ice is always >=0 (upwards), heat goes to the atmosphere, therefore snow sublimates 
     320#if defined key_coupled 
     321         zdh_s_sub(ji)    =  0._wp      ! coupled mode: sublimation already included in emp_ice (to do in limsbc_ice) 
     322#else 
     323         !                              ! forced  mode: snow thickness change due to sublimation 
    321324         zdh_s_sub(ji)    =  - parsub * qla_ice_1d(ji) / ( rhosn * lsub ) * rdt_ice 
     325#endif 
    322326         dh_s_tot (ji)    =  dh_s_tot(ji) + zdh_s_sub(ji) 
    323327         zdhcf            =  ht_s_b(ji) + zdh_s_sub(ji)  
Note: See TracChangeset for help on using the changeset viewer.