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 2077 for branches/devmercator2010/NEMO/LIM_SRC_3/limrhg.F90 – NEMO

Ignore:
Timestamp:
2010-09-09T10:43:51+02:00 (14 years ago)
Author:
cbricaud
Message:

commit change from DEV_r1784_3DF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devmercator2010/NEMO/LIM_SRC_3/limrhg.F90

    r2076 r2077  
    77   !!            3.0  !  2008-03  (M. Vancoppenolle) LIM3 
    88   !!             -   !  2008-11  (M. Vancoppenolle, S. Bouillon, Y. Aksenov) add surface tilt in ice rheolohy  
    9    !!             -   !  2009-05  (G.Garric) addition of the lim2_evp cas 
    109   !!---------------------------------------------------------------------- 
    11 #if defined key_lim3 || (  defined key_lim2 && ! defined key_lim2_vp ) 
     10#if defined key_lim3 
    1211   !!---------------------------------------------------------------------- 
    1312   !!   'key_lim3'                                      LIM3 sea-ice model 
     
    1918   USE par_oce 
    2019   USE dom_oce 
     20   USE dom_ice 
    2121   USE sbc_oce         ! Surface boundary condition: ocean fields 
    2222   USE sbc_ice         ! Surface boundary condition: ice fields 
     23   USE ice 
     24   USE iceini 
    2325   USE lbclnk 
    2426   USE lib_mpp 
     
    2628   USE limitd_me 
    2729   USE prtctl          ! Print control 
    28 #if defined key_lim3 
    29    USE dom_ice 
    30    USE ice 
    31    USE iceini 
    32 #endif 
    33 #if defined key_lim2 && ! defined key_lim2_vp 
    34    USE dom_ice_2 
    35    USE ice_2 
    36    USE iceini_2 
    37 #endif 
     30 
    3831 
    3932   IMPLICIT NONE 
     
    187180         zresr                         !: Local error on velocity 
    188181 
    189 #if  defined key_lim2 && ! defined key_lim2_vp 
    190      vt_s => hsnm 
    191      vt_i => hicm 
    192      at_i(:,:) = 1. - frld(:,:) 
    193 #endif 
    194182      ! 
    195183      !------------------------------------------------------------------------------! 
     
    202190      u_ice2(:,:)  = 0.0 ; v_ice1(:,:)  = 0.0 
    203191      zdd(:,:)     = 0.0 ; zdt(:,:)     = 0.0 ; zds(:,:)     = 0.0 
    204 #if defined key_lim3 
     192 
    205193      ! Ice strength on T-points 
    206194      CALL lim_itd_me_icestrength(ridge_scheme_swi) 
    207 #endif 
    208195 
    209196      ! Ice mass and temp variables 
     
    213200         DO ji = 1 , jpi 
    214201            zc1(ji,jj)    = tms(ji,jj) * ( rhosn * vt_s(ji,jj) + rhoic * vt_i(ji,jj) ) 
    215 #if defined key_lim3 
    216202            zpresh(ji,jj) = tms(ji,jj) *  strength(ji,jj) / 2. 
    217 #else 
    218             zpresh(ji,jj) = tms(ji,jj) *  2. * pstar * hicm(ji,jj) * EXP( -c_rhg * frld(ji,jj) ) 
    219 #endif 
    220203            ! tmi = 1 where there is ice or on land 
    221204            tmi(ji,jj)    = 1.0 - ( 1.0 - MAX( 0.0 , SIGN ( 1.0 , vt_i(ji,jj) - & 
     
    286269               / ( e2t(ji,jj+1) + e2t(ji,jj) + epsd ) 
    287270            ! 
    288             ! Mass, coriolis coeff. and currents 
    289271            u_oce1(ji,jj)  = u_oce(ji,jj) 
    290272            v_oce2(ji,jj)  = v_oce(ji,jj) 
Note: See TracChangeset for help on using the changeset viewer.