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/ice_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/ice_2.F90

    r2076 r2077  
    55   !!===================================================================== 
    66   !! History :  2.0  !  03-08  (C. Ethe)  F90: Free form and module 
    7    !!            3.3  !  09-05 (G.Garric) addition of the lim2_evp cas 
    87   !!---------------------------------------------------------------------- 
    98#if defined key_lim2 
     
    2625   LOGICAL               , PUBLIC ::   ln_limdyn     = .TRUE.             !: flag for ice dynamics (T) or not (F) 
    2726   LOGICAL               , PUBLIC ::   ln_limdmp     = .FALSE.            !: Ice damping 
    28    LOGICAL               , PUBLIC ::   ln_nicep      = .TRUE.             !: flag for sea-ice points output (T) or not (F) 
    2927   REAL(wp)              , PUBLIC ::   hsndif        = 0.e0               !: computation of temp. in snow (0) or not (9999) 
    3028   REAL(wp)              , PUBLIC ::   hicdif        = 0.e0               !: computation of temp. in ice (0) or not (9999) 
     
    4846   REAL(wp), PUBLIC ::   ecc    = 2.e0      !: eccentricity of the elliptical yield curve 
    4947   REAL(wp), PUBLIC ::   ahi0   = 350.e0    !: sea-ice hor. eddy diffusivity coeff. (m2/s) 
    50    INTEGER , PUBLIC ::   nevp   =   360     !: number of EVP subcycling iterations 
    51    INTEGER , PUBLIC ::   telast =  3600     !: timescale for EVP elastic waves 
    52    REAL(wp), PUBLIC ::   alphaevp = 1.e0    !: coefficient for the solution of EVP int. stresses 
     48 
    5349   REAL(wp), PUBLIC ::   usecc2             !:  = 1.0 / ( ecc * ecc ) 
    5450   REAL(wp), PUBLIC ::   rhoco              !: = rau0 * cw 
     
    5652   REAL(wp), PUBLIC ::   pstarh             !: pstar / 2.0 
    5753 
    58    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   ahiu , ahiv         !: hor. diffusivity coeff. at ocean U- and V-points (m2/s) 
    59    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   pahu , pahv         !: ice hor. eddy diffusivity coef. at ocean U- and V-points 
    60    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   ust2s               !: friction velocity 
    61  
    62 #if  defined key_lim2_vp 
    63    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   hsnm , hicm         !: mean snow and ice thicknesses 
    64    CHARACTER(len=1), PUBLIC :: cl_grid =   'B'                   !: type of grid used in ice dynamics, 'C' or 'B' 
    65 #else 
    66    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::                      & 
    67                                                    stress1_i ,  &!: first stress tensor element        
    68                                                    stress2_i ,  &!: second stress tensor element 
    69                                                    stress12_i,  &!: diagonal stress tensor element 
    70                                                    delta_i   ,  &!: Delta factor for the ice rheology (see Flato and Hibler 95) [s-1] -> limrhg.F90 
    71                                                    divu_i    ,  &!: Divergence of the velocity field [s-1] -> limrhg.F90 
    72                                                    shear_i       !: Shear of the velocity field [s-1] -> limrhg.F90 
    73  
    74    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)         :: at_i          !: 
    75    REAL(wp), PUBLIC, DIMENSION(:,:)    ,POINTER :: vt_s ,vt_i    !: mean snow and ice thicknesses 
    76    REAL(wp), PUBLIC, DIMENSION(jpi,jpj),TARGET  :: hsnm , hicm   !: mean snow and ice thicknesses, target for pointers vt_s and vt_i  
    77    CHARACTER(len=1), PUBLIC :: cl_grid =   'C'                   !: type of grid used in ice dynamics, 'C' or 'B' 
    78 #endif 
     54   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   ahiu , ahiv   !: hor. diffusivity coeff. at ocean U- and V-points (m2/s) 
     55   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   pahu , pahv   !: ice hor. eddy diffusivity coef. at ocean U- and V-points 
     56   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   hsnm , hicm   !: mean snow and ice thicknesses 
     57   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   ust2s                 !: friction velocity 
    7958 
    8059   !!* diagnostic quantities 
    81    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   rdvosif       !: Variation of volume at surface (only used for outputs) 
    82    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   rdvobif       !: Variation of ice volume at the bottom ice (only used for outputs) 
    83    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   fdvolif       !: Total variation of ice volume (only used for outputs) 
    84    REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   rdvonif       !: Lateral Variation of ice volume (only used for outputs) 
    8560   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   sist          !: Sea-Ice Surface Temperature (Kelvin) 
    8661   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   tfu           !: Freezing/Melting point temperature of sea water at SSS 
Note: See TracChangeset for help on using the changeset viewer.