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_dif.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_dif.F90

    r3558 r3807  
    3434 
    3535   !!---------------------------------------------------------------------- 
    36    !! NEMO/LIM3 4.0 , UCL - NEMO Consortium (2011) 
     36   !! NEMO/LIM3 3.4 , UCL - NEMO Consortium (2011) 
    3737   !! $Id$ 
    3838   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    717717      !   11) Fluxes at the interfaces                                          ! 
    718718      !-------------------------------------------------------------------------! 
     719         ! duplicate the loop for performances issues 
    719720      DO ji = kideb, kiut 
    720          !                                ! update of latent heat fluxes 
    721          qla_ice_1d (ji) = qla_ice_1d (ji) + dqla_ice_1d(ji) * ( t_su_b(ji) - ztsuold(ji) ) 
     721#if ! defined key_coupled 
     722         ! forced mode only : update of latent heat fluxes (sublimation) (always >=0, upward flux)  
     723         qla_ice_1d (ji) = MAX( 0._wp, qla_ice_1d (ji) + dqla_ice_1d(ji) * ( t_su_b(ji) - ztsuold(ji) ) ) 
     724#endif 
    722725         !                                ! surface ice conduction flux 
    723726         isnow(ji)       = INT(  1._wp - MAX( 0._wp, SIGN( 1._wp, -ht_s_b(ji) ) )  ) 
Note: See TracChangeset for help on using the changeset viewer.