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 5078 for branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/ice.F90 – NEMO

Ignore:
Timestamp:
2015-02-11T16:15:11+01:00 (9 years ago)
Author:
clem
Message:

LIM3: cosmetic changes to increase readability and performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/ice.F90

    r5076 r5078  
    165165 
    166166   !                                     !!** ice-thickness distribution namelist (namiceitd) ** 
    167    INTEGER , PUBLIC ::   jpl              !: number of ice  categories  
    168    INTEGER , PUBLIC ::   nlay_i           !: number of ice  layers  
    169    INTEGER , PUBLIC ::   nlay_s           !: number of snow layers  
    170167   INTEGER , PUBLIC ::   nn_catbnd        !: categories distribution following: tanh function (1), or h^(-alpha) function (2) 
    171168   REAL(wp), PUBLIC ::   rn_himean        !: mean thickness of the domain (used to compute the distribution, nn_itdshp = 2 only) 
     
    223220   REAL(wp), PUBLIC ::   usecc2           !:  = 1.0 / ( rn_ecc * rn_ecc ) 
    224221   REAL(wp), PUBLIC ::   rhoco            !: = rau0 * cio 
    225  
     222   REAL(wp), PUBLIC ::   r1_nlay_i        !: 1 / nlay_i 
     223   REAL(wp), PUBLIC ::   r1_nlay_s        !: 1 / nlay_s  
     224   ! 
    226225   !                                     !!** switch for presence of ice or not  
    227226   REAL(wp), PUBLIC ::   rswitch 
    228  
     227   ! 
    229228   !                                     !!** define some parameters  
    230229   REAL(wp), PUBLIC, PARAMETER ::   epsi06   = 1.e-06_wp  !: small number  
     
    368367   !!-------------------------------------------------------------------------- 
    369368   !                                                  !!: ** Namelist namicerun read in sbc_lim_init ** 
    370    CHARACTER(len=32)     , PUBLIC ::   cn_icerst_in    !: suffix of ice restart name (input) 
    371    CHARACTER(len=32)     , PUBLIC ::   cn_icerst_out   !: suffix of ice restart name (output) 
    372    LOGICAL               , PUBLIC ::   ln_limdyn       !: flag for ice dynamics (T) or not (F) 
    373    LOGICAL               , PUBLIC ::   ln_nicep        !: flag for sea-ice points output (T) or not (F) 
    374    REAL(wp)              , PUBLIC ::   rn_amax         !: maximum ice concentration 
     369   INTEGER          , PUBLIC ::   jpl             !: number of ice  categories  
     370   INTEGER          , PUBLIC ::   nlay_i          !: number of ice  layers  
     371   INTEGER          , PUBLIC ::   nlay_s          !: number of snow layers  
     372   CHARACTER(len=32), PUBLIC ::   cn_icerst_in    !: suffix of ice restart name (input) 
     373   CHARACTER(len=32), PUBLIC ::   cn_icerst_out   !: suffix of ice restart name (output) 
     374   LOGICAL          , PUBLIC ::   ln_limdyn       !: flag for ice dynamics (T) or not (F) 
     375   LOGICAL          , PUBLIC ::   ln_nicep        !: flag for sea-ice points output (T) or not (F) 
     376   REAL(wp)         , PUBLIC ::   rn_amax         !: maximum ice concentration 
    375377   ! 
    376378   !!-------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.