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 1559 for trunk/NEMO/LIM_SRC_2 – NEMO

Changeset 1559 for trunk/NEMO/LIM_SRC_2


Ignore:
Timestamp:
2009-07-29T16:03:14+02:00 (15 years ago)
Author:
ctlod
Message:

only cosmetic changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_2/limthd_2.F90

    r1482 r1559  
    44   !!              LIM thermo ice model : ice thermodynamic 
    55   !!====================================================================== 
    6    !! History :  1.0  !  00-01 (LIM) 
    7    !!            2.0  !  02-07 (C. Ethe, G. Madec) F90 
    8    !!            2.0  !  03-08 (C. Ethe)  add lim_thd_init 
    9    !!             -   !  08-2008  (A. Caubel, G. Madec, E. Maisonnave, S. Masson ) generic coupled interface 
     6   !! History :  1.0  ! 2000-01 (LIM) 
     7   !!            2.0  ! 2002-07 (C. Ethe, G. Madec) F90 
     8   !!            2.0  ! 2003-08 (C. Ethe)  add lim_thd_init 
     9   !!             -   ! 2008-2008  (A. Caubel, G. Madec, E. Maisonnave, S. Masson ) generic coupled interface 
    1010   !!--------------------------------------------------------------------- 
    1111#if defined key_lim2 
     
    4747#  include "vectopt_loop_substitute.h90" 
    4848   !!-------- ------------------------------------------------------------- 
    49    !! NEMO/LIM 2.0,  UCL-LOCEAN-IPSL (2008)  
     49   !! NEMO/LIM 3.2,  UCL-LOCEAN-IPSL (2009)  
    5050   !! $Id$ 
    5151   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    8282      REAL(wp) ::   zinda                ! switch for test. the val. of concen. 
    8383      REAL(wp) ::   zindb, zindg         ! switches for test. the val of arg 
     84      REAL(wp) ::   zfricp               ! temporary scalar 
    8485      REAL(wp) ::   za , zh, zthsnice    ! 
    8586      REAL(wp) ::   zfric_u              ! friction velocity  
     
    8788      REAL(wp) ::   zfontn               ! heat flux from snow thickness 
    8889      REAL(wp) ::   zfntlat, zpareff     ! test. the val. of lead heat budget 
    89       REAL(wp) ::   zfi                  ! temporary scalar 
    90       REAL(wp), DIMENSION(jpi,jpj)     ::   ztmp      ! working array 
     90      REAL(wp), DIMENSION(jpi,jpj)     ::   ztmp      ! 2D workspace 
    9191      REAL(wp), DIMENSION(jpi,jpj)     ::   zqlbsbq   ! link with lead energy budget qldif 
    92       REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zmsk      ! working array 
     92      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zmsk      ! 3D workspace 
    9393      !!------------------------------------------------------------------- 
    9494 
     
    179179            zindb          = tms(ji,jj) * ( 1.0 - MAX( rzero , SIGN( rone , - zthsnice ) ) )  
    180180            pfrld(ji,jj)   = frld(ji,jj) 
    181             zinda          = 1.0 - MAX( rzero , SIGN( rone , - ( 1.0 - pfrld(ji,jj) ) ) ) 
     181            zfricp         = 1.0 - frld(ji,jj) 
     182            zinda          = 1.0 - MAX( rzero , SIGN( rone , - zfricp ) ) 
    182183             
    183184            !  solar irradiance transmission at the mixed layer bottom and used in the lead heat budget 
     
    192193            !  partial computation of the lead energy budget (qldif) 
    193194#if defined key_coupled  
    194             zfi = 1.0 - pfrld(ji,jj) 
    195195            qldif(ji,jj)   = tms(ji,jj) * rdt_ice                                             & 
    196                &    * (   ( qsr_tot(ji,jj) - qsr_ice(ji,jj,1) * zfi ) * ( 1.0 - thcm(ji,jj) )   & 
    197                &        + ( qns_tot(ji,jj) - qns_ice(ji,jj,1) * zfi )                           & 
     196               &    * (   ( qsr_tot(ji,jj) - qsr_ice(ji,jj,1) * zfricp ) * ( 1.0 - thcm(ji,jj) )   & 
     197               &        + ( qns_tot(ji,jj) - qns_ice(ji,jj,1) * zfricp )                           & 
    198198               &        + frld(ji,jj) * ( fdtcn(ji,jj) + ( 1.0 - zindb ) * fsbbq(ji,jj) )   ) 
    199199#else 
Note: See TracChangeset for help on using the changeset viewer.