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

Ignore:
Timestamp:
2008-05-13T10:28:52+02:00 (16 years ago)
Author:
rblod
Message:

Correct indentation and print for debug in LIM3, see ticket #134, step I

File:
1 edited

Legend:

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

    r904 r921  
    217217      s_i_min  =  0.1 ,  &  !: minimum ice salinity (ppt) 
    218218      s_i_0    =  3.5 ,  &  !: 1st sal. value for the computation of sal .prof. 
    219                             !: (ppt) 
     219                                !: (ppt) 
    220220      s_i_1    =  4.5 ,  &  !: 2nd sal. value for the computation of sal .prof. 
    221                             !: (ppt) 
     221                                !: (ppt) 
    222222      sal_G    = 5.00 ,  &  !: restoring salinity for gravity drainage 
    223                             !: (ppt) 
     223                                !: (ppt) 
    224224      sal_F    = 2.50 ,  &  !: restoring salinity for flushing 
    225                             !: (ppt) 
     225                                !: (ppt) 
    226226      time_G   = 1.728e+06,&!: restoring time constant for gravity drainage 
    227                             !: (= 20 days, in s) 
     227                                !: (= 20 days, in s) 
    228228      time_F   = 8.640e+05,&!: restoring time constant for gravity drainage  
    229                             !: (= 10 days, in s) 
     229                                !: (= 10 days, in s) 
    230230      bulk_sal = 4.0        !: bulk salinity (ppt) in case of constant salinity 
    231231 
    232232   INTEGER , PUBLIC ::   & !!: ** ice-salinity namelist (namicesal) ** 
    233233      num_sal  = 1    ,  &  !: salinity configuration used in the model 
    234                             !: 1 - s constant in space and time 
    235                             !: 2 - prognostic salinity (s(z,t)) 
    236                             !: 3 - salinity profile, constant in time 
    237                             !: 4 - salinity variations affect only ice 
    238                             !      thermodynamics 
     234                                !: 1 - s constant in space and time 
     235                                !: 2 - prognostic salinity (s(z,t)) 
     236                                !: 3 - salinity profile, constant in time 
     237                                !: 4 - salinity variations affect only ice 
     238                                !      thermodynamics 
    239239      sal_prof = 1    ,  &  !: salinity profile or not  
    240240      thcon_i_swi = 1       !: thermal conductivity of Untersteiner (1964) (1) or 
    241                             !: Pringle et al (2007) (2) 
     241   !: Pringle et al (2007) (2) 
    242242 
    243243   REAL(wp), PUBLIC ::   & !!: ** ice-mechanical redistribution namelist (namiceitdme) 
     
    249249      astar = 0.05    ,  & !!: equivalent of G* for an exponential participation function 
    250250      Hstar = 100.0   ,  & !!: thickness that determines the maximal thickness of ridged 
    251                            !!: ice 
     251                                !!: ice 
    252252      hparmeter = 0.75,  & !!: threshold thickness (m) for rafting / ridging  
    253253      Craft = 5.0     ,  & !!: coefficient for smoothness of the hyperbolic tangent in rafting 
     
    256256      betas    = 1.0      , & !:: coef. for partitioning of snowfall between leads and sea ice 
    257257      kappa_i  = 1.0      , & !!: coefficient for the extinction of radiation 
    258                               !!: Grenfell et al. (2006) (m-1) 
     258                                !!: Grenfell et al. (2006) (m-1) 
    259259      nconv_i_thd = 50    , & !!: maximal number of iterations for heat diffusion 
    260260      maxer_i_thd = 1.0e-4    !!: maximal tolerated error (C) for heat diffusion 
     
    264264      raftswi          = 1, & !!: rafting of ice or not                         
    265265      partfun_swi      = 1, & !!: participation function Thorndike et al. JGR75 (0)  
    266                               !!: or Lipscomb et al. JGR07 (1)  
     266                                !!: or Lipscomb et al. JGR07 (1)  
    267267      transfun_swi     = 0, & !!: transfer function of Hibler, MWR80 (0)  
    268                               !!: or Lipscomb et al., 2007 (1) 
     268                                !!: or Lipscomb et al., 2007 (1) 
    269269      brinstren_swi    = 0    !!: use brine volume to diminish ice strength 
    270270 
     
    301301      t_bo   ,   &  !: Sea-Ice bottom temperature (Kelvin)       
    302302      hicifp ,   &  !: Ice production/melting 
    303       !obsolete... can be removed 
     303                                !obsolete... can be removed 
    304304      frld   ,   &  !: Leads fraction = 1-a/totalarea REFERS TO LEAD FRACTION everywhere 
    305                     !: except in the OUTPUTS!!!! 
     305                                !: except in the OUTPUTS!!!! 
    306306      pfrld  ,   &  !: Leads fraction at previous time   
    307307      phicif ,   &  !: Old ice thickness 
     
    328328      fheat_res, &  !: Residual heat flux due to correction of ice thickness 
    329329      fhmec         !: Heat flux due to snow loss during compression 
    330        
     330 
    331331   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::       &  !: 
    332332      albege ,   &  !: Albedo of the snow or ice (only for outputs) 
     
    334334      tauc          !: Cloud optical depth 
    335335 
    336 ! temporary arrays for dummy version of the code 
     336   ! temporary arrays for dummy version of the code 
    337337   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: 
    338338      dh_i_surf2D, dh_i_bott2D, fstbif, fsup2D, focea2D, q_s 
     
    354354      sm_i   ,   &  !: Sea-Ice Bulk salinity (ppt) 
    355355      smv_i  ,   &  !: Sea-Ice Bulk salinity times volume per area (ppt.m) 
    356                     !: this is an extensive variable that has to be transported 
     356                                !: this is an extensive variable that has to be transported 
    357357      o_i    ,   &  !: Sea-Ice Age (days) 
    358358      ov_i   ,   &  !: Sea-Ice Age times volume per area (days.m) 
     
    401401   !!-------------------------------------------------------------------------- 
    402402   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !: 
    403          sxopw, syopw, sxxopw, syyopw, sxyopw          !: open water in sea ice 
     403      sxopw, syopw, sxxopw, syyopw, sxyopw          !: open water in sea ice 
    404404 
    405405   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !: 
    406          sxice, syice, sxxice, syyice, sxyice,      &  !: ice thickness moments for advection 
    407          sxsn,  sysn,  sxxsn,  syysn,  sxysn,       &  !: snow thickness 
    408          sxa,   sya,   sxxa,   syya,   sxya,        &  !: lead fraction 
    409          sxc0,  syc0,  sxxc0,  syyc0,  sxyc0,       &  !: snow thermal content 
    410          sxsal, sysal, sxxsal, syysal, sxysal,      &  !: ice salinity 
    411          sxage, syage, sxxage, syyage, sxyage          !: ice age 
     406      sxice, syice, sxxice, syyice, sxyice,      &  !: ice thickness moments for advection 
     407      sxsn,  sysn,  sxxsn,  syysn,  sxysn,       &  !: snow thickness 
     408      sxa,   sya,   sxxa,   syya,   sxya,        &  !: lead fraction 
     409      sxc0,  syc0,  sxxc0,  syyc0,  sxyc0,       &  !: snow thermal content 
     410      sxsal, sysal, sxxsal, syysal, sxysal,      &  !: ice salinity 
     411      sxage, syage, sxxage, syyage, sxyage          !: ice age 
    412412 
    413413   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) ::   &  !: 
    414          sxe ,  sye ,  sxxe ,  syye ,  sxye            !: ice layers heat content 
     414      sxe ,  sye ,  sxxe ,  syye ,  sxye            !: ice layers heat content 
    415415 
    416416   !!-------------------------------------------------------------------------- 
     
    446446   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) ::   &  !: 
    447447      d_e_i_thd, d_e_i_trp 
    448     
     448 
    449449   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::       &  !: ice velocity  
    450450      d_u_ice_dyn, d_v_ice_dyn 
     
    459459   INTEGER, PUBLIC, DIMENSION(jpm,2)              ::   &  !: 
    460460      ice_cat_bounds !: Matrix containing the integer upper and  
    461                      !: lower boundaries of ice thickness categories 
     461   !: lower boundaries of ice thickness categories 
    462462 
    463463   ! REMOVE 
     
    474474   REAL(wp), PUBLIC, DIMENSION(0:jpl,jpm)         ::   &  !: 
    475475      hi_max_typ     !: Boundary of ice thickness categories  
    476                      !:in thickness space (same but specific for each ice type) 
     476   !:in thickness space (same but specific for each ice type) 
     477 
     478   !!-------------------------------------------------------------------------- 
     479   !! * Ice Run 
     480   !!-------------------------------------------------------------------------- 
     481   !! Namelist namicerun read in iceini 
     482   LOGICAL , PUBLIC  ::     & !!! ** init namelist (namicerun) ** 
     483      ln_limdyn   = .TRUE., & !: flag for ice dynamics (T) or not (F) 
     484      ln_nicep    = .TRUE.    !: flag for sea-ice points output (T) or not (F) 
     485   REAL(wp), PUBLIC  ::   &  !: 
     486      hsndif = 0.e0    ,  &  !: computation of temp. in snow (0) or not (9999) 
     487      hicdif = 0.e0    ,  &  !: computation of temp. in ice (0) or not (9999) 
     488      cai    = 1.40e-3 ,  &  !: atmospheric drag over sea ice 
     489      cao    = 1.00e-3       !: atmospheric drag over ocean 
     490   REAL(wp), PUBLIC, DIMENSION(2)  ::  &  !: 
     491      acrit  = (/ 1.e-06 , 1.e-06 /)    !: minimum fraction for leads in 
     492   !                                   !  north and south hemisphere 
    477493 
    478494   !!-------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.