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_2/limdyn_2.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_2/limdyn_2.F90

    r2076 r2077  
    88   !!             2.0  !  03-08  (C. Ethe) add lim_dyn_init 
    99   !!             2.0  !  06-07  (G. Madec)  Surface module 
    10    !!             3.3  !  09-05  (G.Garric) addition of the lim2_evp cas 
    1110   !!--------------------------------------------------------------------- 
    1211#if defined key_lim2 
     
    2322   USE dom_ice_2      ! 
    2423   USE limistate_2    ! 
    25 #if defined key_lim2_vp 
    2624   USE limrhg_2       ! ice rheology 
    27 #else 
    28    USE limrhg         ! ice rheology 
    29 #endif 
     25 
    3026   USE lbclnk         ! 
    3127   USE lib_mpp        ! 
     
    9187            i_jpj = jpj 
    9288            IF(ln_ctl)   CALL prt_ctl_info( 'lim_dyn  :    i_j1 = ', ivar1=i_j1, clinfo2=' ij_jpj = ', ivar2=i_jpj ) 
    93 #if defined key_lim2_vp 
    9489            CALL lim_rhg_2( i_j1, i_jpj ) 
    95 #else 
    96             CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt ) 
    97 #endif 
    9890            ! 
    9991         ELSE                                 ! optimization of the computational area 
     
    113105                  i_j1 = i_j1 + 1 
    114106               END DO 
    115 #if defined key_lim2_vp 
    116107               i_j1 = MAX( 1, i_j1-1 ) 
    117108               IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : NH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    118109               !  
    119110               CALL lim_rhg_2( i_j1, i_jpj ) 
    120 #else 
    121                i_j1 = MAX( 1, i_j1-2 ) 
    122                IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : NH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    123                CALL lim_rhg( i_j1, i_jpj ) 
    124 #endif 
    125111               !  
    126112               ! Southern hemisphere 
     
    130116                  i_jpj = i_jpj - 1 
    131117               END DO 
    132 #if defined key_lim2_vp 
    133118               i_jpj = MIN( jpj, i_jpj+2 ) 
    134119               IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : SH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    135120               !  
    136121               CALL lim_rhg_2( i_j1, i_jpj ) 
    137 #else 
    138                i_jpj = MIN( jpj, i_jpj+1 ) 
    139                IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : SH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    140                CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt ) 
    141 #endif 
    142122               !  
    143123            ELSE                                 ! local domain extends over one hemisphere only 
     
    154134                  i_jpj = i_jpj - 1 
    155135               END DO 
    156 #if defined key_lim2_vp 
    157136               i_jpj = MIN( jpj, i_jpj+2) 
    158  
     137     
    159138               IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : one hemisphere: i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    160139               !  
    161140               CALL lim_rhg_2( i_j1, i_jpj ) 
    162 #else 
    163                i_j1 = MAX( 1, i_j1-2 ) 
    164                i_jpj = MIN( jpj, i_jpj+1) 
    165                IF(ln_ctl)   WRITE(numout,*) 'lim_dyn : one hemisphere: i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 
    166                CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt ) 
    167 #endif 
    168141               ! 
    169142            ENDIF 
     
    175148         ! computation of friction velocity 
    176149         ! -------------------------------- 
    177  
    178      SELECT CASE( cl_grid ) 
    179  
    180       CASE( 'C' )                          ! C-grid ice dynamics 
    181          !????????????????????????????????? 
    182          ! ice-ocean velocity at U & V-points (u_ice vi_ice at U- & V-points ; ssu_m, ssv_m at U- & V-points) 
    183          zu_io(:,:) = u_ice(:,:) - ssu_m(:,:) 
    184          zv_io(:,:) = v_ice(:,:) - ssv_m(:,:) 
    185  
    186  
    187       CASE( 'B' )                          ! B-grid ice dynamics 
    188150         ! ice-ocean velocity at U & V-points (u_ice v_ice at I-point ; ssu_m, ssv_m at U- & V-points) 
    189151          
     
    194156            END DO 
    195157         END DO 
    196  
    197       END SELECT 
    198  
    199158         ! frictional velocity at T-point 
    200159         DO jj = 2, jpjm1 
     
    239198      NAMELIST/namicedyn/ epsd, alpha,     & 
    240199         &                dm, nbiter, nbitdr, om, resl, cw, angvg, pstar,   & 
    241          &                c_rhg, etamn, creepl, ecc, ahi0, & 
    242          &                nevp, telast, alphaevp 
     200         &                c_rhg, etamn, creepl, ecc, ahi0 
    243201      !!------------------------------------------------------------------- 
    244202 
     
    265223         WRITE(numout,*) '       eccentricity of the elliptical yield curve       ecc    = ', ecc 
    266224         WRITE(numout,*) '       horizontal diffusivity coeff. for sea-ice        ahi0   = ', ahi0 
    267          WRITE(numout,*) '       number of iterations for subcycling              nevp   = ', nevp 
    268          WRITE(numout,*) '       timescale for elastic waves                      telast = ', telast 
    269          WRITE(numout,*) '       coefficient for the solution of int. stresses  alphaevp = ', alphaevp 
    270225      ENDIF 
    271226 
Note: See TracChangeset for help on using the changeset viewer.