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 888 for trunk/NEMO/LIM_SRC_3/limvar.F90 – NEMO

Ignore:
Timestamp:
2008-04-11T19:05:03+02:00 (16 years ago)
Author:
ctlod
Message:

merge dev_001_SBC branche with the trunk to include the New Surface Module package, see ticket: #113

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limvar.F90

    r868 r888  
    11MODULE limvar 
    2 #if defined key_lim3 
    32   !!---------------------------------------------------------------------- 
    43   !!   'key_lim3'                                      LIM3 sea-ice model 
     
    3332   !!                        - ot_i(jpi,jpj)  !average ice age 
    3433   !!====================================================================== 
    35  
     34#if defined key_lim3 
    3635   !!---------------------------------------------------------------------- 
    3736   !! * Modules used 
     
    4039   USE phycst           ! physical constants (ocean directory)  
    4140   USE ice_oce          ! ice variables 
     41   USE sbc_oce          ! Surface boundary condition: ocean fields 
    4242   USE thd_ice 
    4343   USE in_out_manager 
     
    428428           zind0         ,     & !: switch, = 1 if sm_i lt s_i_0 
    429429           zind01        ,     & !: switch, = 1 if sm_i between s_i_0 and s_i_1 
    430            zindbal       ,     & !: switch, = 1, if 2*sm_i gt sss_io 
     430           zindbal       ,     & !: switch, = 1, if 2*sm_i gt sss_m 
    431431           zargtemp              !: dummy factor 
    432432 
     
    491491                  zind01 = ( 1.0 - zind0 ) *                                  & 
    492492                           MAX( 0.0   , SIGN( 1.0  , s_i_1 - sm_i(ji,jj,jl) ) )  
    493                   ! If 2.sm_i GE sss_io then zindbal = 1 
     493                  ! If 2.sm_i GE sss_m then zindbal = 1 
    494494                  zindbal = MAX( 0.0 , SIGN( 1.0 , 2. * sm_i(ji,jj,jl) -      & 
    495                   sss_io(ji,jj) ) ) 
     495                  sss_m(ji,jj) ) ) 
    496496                  zalpha(ji,jj,jl) = zind0  * 1.0                             & 
    497497                                   + zind01 * ( sm_i(ji,jj,jl) * dummy_fac0 + & 
     
    692692               zind01 = ( 1.0 - zind0 ) *                                  & 
    693693                        MAX( 0.0   , SIGN( 1.0  , s_i_1 - sm_i_b(ji) ) )  
    694                ! if 2.sm_i GE sss_io then zindbal = 1 
     694               ! if 2.sm_i GE sss_m then zindbal = 1 
    695695               zindbal = MAX( 0.0 , SIGN( 1.0 , 2. * sm_i_b(ji) -      & 
    696                sss_io(zji,zjj) ) ) 
     696               sss_m(zji,zjj) ) ) 
    697697 
    698698               zalpha = zind0  * 1.0                                       & 
Note: See TracChangeset for help on using the changeset viewer.