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 3954 for branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/ICB/icbini.F90 – NEMO

Ignore:
Timestamp:
2013-07-03T16:20:05+02:00 (11 years ago)
Author:
clevy
Message:

Configuration setting/Step2, additions, see ticket:#1074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/ICB/icbini.F90

    r3901 r3954  
    355355      !!---------------------------------------------------------------------- 
    356356 
     357#if !defined key_agrif 
    357358      REWIND( numnam_ref )              ! Namelist namberg in reference namelist : Iceberg parameters 
    358359      READ  ( numnam_ref, namberg, IOSTAT = ios, ERR = 901) 
    359360901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namberg in reference namelist', lwp ) 
    360  
    361361      REWIND( numnam_cfg )              ! Namelist namberg in configuration namelist : Iceberg parameters 
    362362      READ  ( numnam_cfg, namberg, IOSTAT = ios, ERR = 902 ) 
    363363902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namberg in configuration namelist', lwp ) 
    364364      WRITE ( numond, namberg ) 
    365        
     365#else 
     366      IF(lwp) THEN 
     367         WRITE(numout,*) 
     368         WRITE(numout,*) 'icbini :   AGRIF is not compatible with namelist namberg :  ' 
     369         WRITE(numout,*) '         definition of rn_initial_mass(nclasses) with nclasses as PARAMETER ' 
     370         WRITE(numout,*) ' namelist namberg not read' 
     371      ENDIF 
     372      ln_iceberg=.false.       
     373#endif    
    366374      IF( .NOT. ln_icebergs ) THEN   ! no icebergs 
    367375         IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.