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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90

    r3625 r4147  
    3333   PUBLIC   lim_istate      ! routine called by lim_init.F90 
    3434 
    35    !                                  !!** init namelist (namiceini) ** 
    36    REAL(wp) ::   ttest    = 2.0_wp     ! threshold water temperature for initial sea ice 
    37    REAL(wp) ::   hninn    = 0.5_wp     ! initial snow thickness in the north 
    38    REAL(wp) ::   hginn_u  = 2.5_wp     ! initial ice thickness in the north 
    39    REAL(wp) ::   aginn_u  = 0.7_wp     ! initial leads area in the north 
    40    REAL(wp) ::   hginn_d  = 5.0_wp     ! initial ice thickness in the north 
    41    REAL(wp) ::   aginn_d  = 0.25_wp    ! initial leads area in the north 
    42    REAL(wp) ::   hnins    = 0.1_wp     ! initial snow thickness in the south 
    43    REAL(wp) ::   hgins_u  = 1.0_wp     ! initial ice thickness in the south 
    44    REAL(wp) ::   agins_u  = 0.7_wp     ! initial leads area in the south 
    45    REAL(wp) ::   hgins_d  = 2.0_wp     ! initial ice thickness in the south 
    46    REAL(wp) ::   agins_d  = 0.2_wp     ! initial leads area in the south 
    47    REAL(wp) ::   sinn     = 6.301_wp   ! initial salinity  
    48    REAL(wp) ::   sins     = 6.301_wp   ! 
     35   !                       !!** init namelist (namiceini) ** 
     36   REAL(wp) ::   ttest      ! threshold water temperature for initial sea ice 
     37   REAL(wp) ::   hninn      ! initial snow thickness in the north 
     38   REAL(wp) ::   hginn_u    ! initial ice thickness in the north 
     39   REAL(wp) ::   aginn_u    ! initial leads area in the north 
     40   REAL(wp) ::   hginn_d    ! initial ice thickness in the north 
     41   REAL(wp) ::   aginn_d    ! initial leads area in the north 
     42   REAL(wp) ::   hnins      ! initial snow thickness in the south 
     43   REAL(wp) ::   hgins_u    ! initial ice thickness in the south 
     44   REAL(wp) ::   agins_u    ! initial leads area in the south 
     45   REAL(wp) ::   hgins_d    ! initial ice thickness in the south 
     46   REAL(wp) ::   agins_d    ! initial leads area in the south 
     47   REAL(wp) ::   sinn       ! initial salinity  
     48   REAL(wp) ::   sins       ! 
    4949 
    5050   !!---------------------------------------------------------------------- 
     
    536536      !! ** input  :   namelist namiceini 
    537537      !!----------------------------------------------------------------------------- 
     538      INTEGER :: ios                 ! Local integer output status for namelist read 
    538539      NAMELIST/namiceini/ ttest, hninn, hginn_u, aginn_u, hginn_d, aginn_d, hnins,   & 
    539540         &                hgins_u, agins_u, hgins_d, agins_d, sinn, sins 
    540541      !!----------------------------------------------------------------------------- 
    541542      ! 
    542       REWIND ( numnam_ice )               ! Read Namelist namiceini  
    543       READ   ( numnam_ice , namiceini ) 
     543      REWIND( numnam_ice_ref )              ! Namelist namiceini in reference namelist : Ice initial state 
     544      READ  ( numnam_ice_ref, namiceini, IOSTAT = ios, ERR = 901) 
     545901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in reference namelist', lwp ) 
     546 
     547      REWIND( numnam_ice_cfg )              ! Namelist namiceini in configuration namelist : Ice initial state 
     548      READ  ( numnam_ice_cfg, namiceini, IOSTAT = ios, ERR = 902 ) 
     549902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in configuration namelist', lwp ) 
     550      WRITE ( numoni, namiceini ) 
    544551      ! 
    545552      IF(lwp) THEN                        ! control print 
Note: See TracChangeset for help on using the changeset viewer.