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 9169 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icethd_da.F90 – NEMO

Ignore:
Timestamp:
2017-12-26T17:32:56+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: all SRC: finalize the removal of useless warning when reading namelist_cfg + remove all nn_closea + nn_msh replaced by a logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icethd_da.F90

    r9019 r9169  
    1010   !!   'key_lim3'                                       ESIM sea-ice model 
    1111   !!---------------------------------------------------------------------- 
    12    !!   ice_thd_da        : sea ice lateral melting 
    13    !!   ice_thd_da_init   : sea ice lateral melting initialization 
     12   !!   ice_thd_da      : sea ice lateral melting 
     13   !!   ice_thd_da_init : sea ice lateral melting initialization 
    1414   !!---------------------------------------------------------------------- 
    1515   USE par_oce        ! ocean parameters 
     
    2828   PUBLIC   ice_thd_da_init   ! called by icestp.F90 
    2929 
    30    ! ** namelist (namthd_da) ** 
    31    REAL(wp) ::   rn_beta     ! coef. beta for lateral melting param. 
    32    REAL(wp) ::   rn_dmin     ! minimum floe diameter for lateral melting param. 
     30   !                      !!** namelist (namthd_da) ** 
     31   REAL(wp) ::   rn_beta   ! coef. beta for lateral melting param. 
     32   REAL(wp) ::   rn_dmin   ! minimum floe diameter for lateral melting param. 
    3333 
    3434   !!---------------------------------------------------------------------- 
     
    118118      ! 
    119119      zastar = 1._wp / ( 1._wp - (rn_dmin / zdmax)**(1._wp/rn_beta) ) 
     120      ! 
    120121      DO ji = 1, npti    
    121122         ! --- Calculate reduction of total sea ice concentration --- ! 
     
    157158   END SUBROUTINE ice_thd_da 
    158159 
     160 
    159161   SUBROUTINE ice_thd_da_init 
    160162      !!----------------------------------------------------------------------- 
     
    169171      !! ** input   :   Namelist namthd_da 
    170172      !!------------------------------------------------------------------- 
    171       INTEGER  ::   ios   ! Local integer output status for namelist read 
     173      INTEGER  ::   ios   ! Local integer 
    172174      !! 
    173175      NAMELIST/namthd_da/ rn_beta, rn_dmin 
     
    176178      REWIND( numnam_ice_ref )              ! Namelist namthd_da in reference namelist : Ice thermodynamics 
    177179      READ  ( numnam_ice_ref, namthd_da, IOSTAT = ios, ERR = 901) 
    178 901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namthd_da in reference namelist', lwp ) 
    179  
     180901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namthd_da in reference namelist', lwp ) 
    180181      REWIND( numnam_ice_cfg )              ! Namelist namthd_da in configuration namelist : Ice thermodynamics 
    181182      READ  ( numnam_ice_cfg, namthd_da, IOSTAT = ios, ERR = 902 ) 
    182 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namthd_da in configuration namelist', lwp ) 
    183       IF(lwm) WRITE ( numoni, namthd_da ) 
    184       ! 
     183902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namthd_da in configuration namelist', lwp ) 
     184      IF(lwm) WRITE( numoni, namthd_da ) 
    185185      ! 
    186186      IF(lwp) THEN                          ! control print 
     187         WRITE(numout,*) 
    187188         WRITE(numout,*) 'ice_thd_da_init: Ice lateral melting' 
    188189         WRITE(numout,*) '~~~~~~~~~~~~~~~' 
Note: See TracChangeset for help on using the changeset viewer.