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

    r3764 r4147  
    3838   PUBLIC   lim_trp_2   ! called by sbc_ice_lim_2 
    3939 
    40    REAL(wp), PUBLIC ::   bound  = 0.e0          !: boundary condit. (0.0 no-slip, 1.0 free-slip) 
     40   REAL(wp), PUBLIC ::   bound      !: boundary condit. (0.0 no-slip, 1.0 free-slip) 
    4141 
    4242   REAL(wp)  ::   epsi06 = 1.e-06   ! constant values 
     
    297297      !! ** input   :   Namelist namicetrp 
    298298      !!------------------------------------------------------------------- 
     299      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    299300      NAMELIST/namicetrp/ bound 
    300301      !!------------------------------------------------------------------- 
    301       ! 
    302       REWIND ( numnam_ice )      ! Read Namelist namicetrp 
    303       READ   ( numnam_ice  , namicetrp ) 
     302                     
     303      REWIND( numnam_ice_ref )              ! Namelist namicetrp in reference namelist : Ice advection 
     304      READ  ( numnam_ice_ref, namicetrp, IOSTAT = ios, ERR = 901) 
     305901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicetrp in reference namelist', lwp ) 
     306 
     307      REWIND( numnam_ice_cfg )              ! Namelist namicetrp in configuration namelist : Ice advection 
     308      READ  ( numnam_ice_cfg, namicetrp, IOSTAT = ios, ERR = 902 ) 
     309902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicetrp in configuration namelist', lwp ) 
     310      WRITE ( numoni, namicetrp ) 
     311 
    304312      IF(lwp) THEN 
    305313         WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.