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 8512 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceitd.F90 – NEMO

Ignore:
Timestamp:
2017-09-07T20:08:11+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part5 - reaching the end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceitd.F90

    r8505 r8512  
    3838   PUBLIC   ice_itd_reb   ! called in iceerr 
    3939 
    40    ! ** ice-thickness distribution namelist (namiceitd) ** 
     40   ! ** ice-thickness distribution namelist (namice_itd) ** 
    4141   REAL(wp) ::   rn_himean        ! mean thickness of the domain (used to compute the distribution) 
    4242 
     
    7979      !!------------------------------------------------------------------ 
    8080 
    81       IF( kt == nit000 .AND. lwp) THEN 
    82          WRITE(numout,*) 
    83          WRITE(numout,*) 'ice_itd_rem  : Remapping the ice thickness distribution' 
    84          WRITE(numout,*) '~~~~~~~~~~~~~~~' 
    85       ENDIF 
     81      IF( kt == nit000 .AND. lwp )   WRITE(numout,*) '-- ice_itd_rem: remapping ice thickness distribution'  
    8682 
    8783      IF( ln_limdiachk ) CALL ice_cons_hsm(0, 'iceitd_rem', zvi_b, zsmv_b, zei_b, zfw_b, zfs_b, zft_b) 
     
    545541    
    546542 
    547    SUBROUTINE ice_itd_reb 
     543   SUBROUTINE ice_itd_reb( kt ) 
    548544      !!------------------------------------------------------------------ 
    549545      !!                ***  ROUTINE ice_itd_reb *** 
     
    555551      !!              to the neighboring category 
    556552      !!------------------------------------------------------------------ 
     553      INTEGER , INTENT (in) ::   kt      ! Ocean time step  
    557554      INTEGER ::   ji, jj, jl   ! dummy loop indices 
    558555      ! 
     
    561558      !!------------------------------------------------------------------ 
    562559      ! 
     560      IF( kt == nit000 .AND. lwp )   WRITE(numout,*) '-- ice_itd_reb: rebining ice thickness distribution'  
     561 
    563562      jdonor(:,:) = 0 
    564563      zdaice(:,:) = 0._wp 
     
    645644      !! ** Purpose :   Initializes the ice thickness distribution 
    646645      !! ** Method  :   ... 
    647       !! ** input   :   Namelist namiceitd 
     646      !! ** input   :   Namelist namice_itd 
    648647      !!------------------------------------------------------------------- 
    649648      INTEGER  ::   jl    ! dummy loop index 
     
    651650      REAL(wp) ::   zhmax, znum, zden, zalpha   !   -      - 
    652651      !! 
    653       NAMELIST/namiceitd/ rn_himean 
    654       !!------------------------------------------------------------------ 
    655       ! 
    656       REWIND( numnam_ice_ref )      ! Namelist namiceitd in reference namelist : Parameters for ice 
    657       READ  ( numnam_ice_ref, namiceitd, IOSTAT = ios, ERR = 901) 
    658 901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceitd in reference namelist', lwp ) 
    659  
    660       REWIND( numnam_ice_cfg )      ! Namelist namiceitd in configuration namelist : Parameters for ice 
    661       READ  ( numnam_ice_cfg, namiceitd, IOSTAT = ios, ERR = 902 ) 
    662 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceitd in configuration namelist', lwp ) 
    663       IF(lwm) WRITE ( numoni, namiceitd ) 
     652      NAMELIST/namice_itd/ rn_himean 
     653      !!------------------------------------------------------------------ 
     654      ! 
     655      REWIND( numnam_ice_ref )      ! Namelist namice_itd in reference namelist : Parameters for ice 
     656      READ  ( numnam_ice_ref, namice_itd, IOSTAT = ios, ERR = 901) 
     657901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_itd in reference namelist', lwp ) 
     658 
     659      REWIND( numnam_ice_cfg )      ! Namelist namice_itd in configuration namelist : Parameters for ice 
     660      READ  ( numnam_ice_cfg, namice_itd, IOSTAT = ios, ERR = 902 ) 
     661902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_itd in configuration namelist', lwp ) 
     662      IF(lwm) WRITE ( numoni, namice_itd ) 
    664663      ! 
    665664      IF(lwp) THEN                  ! control print 
     
    667666         WRITE(numout,*) 'ice_itd_init : Initialization of ice cat distribution ' 
    668667         WRITE(numout,*) '~~~~~~~~~~~~' 
    669          WRITE(numout,*) '   Namelist namicerun : ' 
     668         WRITE(numout,*) '   Namelist namice_itd : ' 
    670669         WRITE(numout,*) '      mean ice thickness in the domain               rn_himean = ', rn_himean 
    671670      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.