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/icerhg.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/icerhg.F90

    r8491 r8512  
    3131   PRIVATE 
    3232 
    33    PUBLIC   ice_rhg        ! routine called by icestp.F90 
    34    PUBLIC   ice_rhg_init   ! routine called by icestp.F90 
    35  
     33   PUBLIC   ice_rhg        ! called by icestp.F90 
     34   PUBLIC   ice_rhg_init   ! called by icestp.F90 
     35    
    3636   !! * Substitutions 
    3737#  include "vectopt_loop_substitute.h90" 
     
    6363      IF( kt == nit000 .AND. lwp ) THEN 
    6464         WRITE(numout,*) 
    65          WRITE(numout,*)'ice_rhg : sea-ice rheology' 
    66          WRITE(numout,*)'~~~~~~~~' 
     65         WRITE(numout,*)'ice_rhg: sea-ice rheology' 
     66         WRITE(numout,*)'~~~~~~~' 
    6767      ENDIF 
    6868 
     
    8282      ! Rheology (ice dynamics) 
    8383      ! -----------------------    
    84       IF( nn_limdyn /= 0 ) THEN     ! -- Ice dynamics 
     84      IF( nn_icedyn /= 0 ) THEN     ! -- Ice dynamics 
    8585         ! 
    86          CALL ice_rhg_evp( stress1_i, stress2_i, stress12_i, u_ice, v_ice, shear_i, divu_i, delta_i ) 
     86         CALL ice_rhg_evp( kt, stress1_i, stress2_i, stress12_i, u_ice, v_ice, shear_i, divu_i, delta_i ) 
    8787         ! 
    8888      ELSE                          ! -- prescribed uniform velocity 
     
    110110      !!      dynamics 
    111111      !! 
    112       !! ** Method  :  Read the namicedyn namelist and check the ice-dynamic 
     112      !! ** Method  :  Read the namice_rhg namelist and check the ice-dynamic 
    113113      !!       parameter values called at the first timestep (nit000) 
    114114      !! 
    115       !! ** input   :   Namelist namicedyn 
     115      !! ** input   :   Namelist namice_rhg 
    116116      !!------------------------------------------------------------------- 
    117117      INTEGER ::   ios   ! Local integer output status for namelist read 
    118118      !! 
    119       NAMELIST/namicedyn/ nn_limadv  , nn_limadv_ord,                                       & 
    120          &                nn_icestr  , rn_pe_rdg, rn_pstar , rn_crhg, ln_icestr_bvf     ,   & 
    121          &                rn_ishlat  , rn_cio   , rn_creepl, rn_ecc , nn_nevp, rn_relast,   & 
     119      NAMELIST/namice_rhg/  rn_ishlat  , rn_cio   , rn_creepl, rn_ecc , nn_nevp, rn_relast,   & 
    122120         &                ln_landfast, rn_gamma , rn_icebfr, rn_lfrelax 
    123121      !!------------------------------------------------------------------- 
    124122      ! 
    125       REWIND( numnam_ice_ref )         ! Namelist namicedyn in reference namelist : Ice dynamics 
    126       READ  ( numnam_ice_ref, namicedyn, IOSTAT = ios, ERR = 901) 
    127 901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicedyn in reference namelist', lwp ) 
     123      REWIND( numnam_ice_ref )         ! Namelist namice_rhg in reference namelist : Ice dynamics 
     124      READ  ( numnam_ice_ref, namice_rhg, IOSTAT = ios, ERR = 901) 
     125901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_rhg in reference namelist', lwp ) 
    128126      ! 
    129       REWIND( numnam_ice_cfg )         ! Namelist namicedyn in configuration namelist : Ice dynamics 
    130       READ  ( numnam_ice_cfg, namicedyn, IOSTAT = ios, ERR = 902 ) 
    131 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicedyn in configuration namelist', lwp ) 
    132       IF(lwm) WRITE ( numoni, namicedyn ) 
     127      REWIND( numnam_ice_cfg )         ! Namelist namice_rhg in configuration namelist : Ice dynamics 
     128      READ  ( numnam_ice_cfg, namice_rhg, IOSTAT = ios, ERR = 902 ) 
     129902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_rhg in configuration namelist', lwp ) 
     130      IF(lwm) WRITE ( numoni, namice_rhg ) 
    133131      ! 
    134132      IF(lwp) THEN                     ! control print 
     
    136134         WRITE(numout,*) 'ice_rhg_init : ice parameters for ice dynamics ' 
    137135         WRITE(numout,*) '~~~~~~~~~~~~' 
    138          WRITE(numout,*) '   Namelist namicedyn' 
    139          WRITE(numout,*) '      advection scheme for ice transport (limtrp)' 
    140          WRITE(numout,*) '         type of advection scheme (-1=Prather, 0=Ulimate-Macho)   nn_limadv     = ', nn_limadv  
    141          WRITE(numout,*) '         order of the scheme for Ultimate-Macho case              nn_limadv_ord = ', nn_limadv_ord 
    142          WRITE(numout,*) '      ridging/rafting (icerdgrft)' 
    143          WRITE(numout,*) '         ice strength parameterization (0=Hibler 1=Rothrock)      nn_icestr     = ', nn_icestr  
    144          WRITE(numout,*) '         Ratio of ridging work to PotEner change in ridging       rn_pe_rdg     = ', rn_pe_rdg  
    145          WRITE(numout,*) '         1st bulk-rheology parameter                              rn_pstar      = ', rn_pstar 
    146          WRITE(numout,*) '         2nd bulk-rhelogy parameter                               rn_crhg       = ', rn_crhg 
    147          WRITE(numout,*) '         brine volume included in ice strength computation        ln_icestr_bvf = ', ln_icestr_bvf 
    148          WRITE(numout,*) '      rheology EVP (icerhg_evp)' 
     136         WRITE(numout,*) '   Namelist namice_rhg' 
     137        WRITE(numout,*) '      rheology EVP (icerhg_evp)' 
    149138         WRITE(numout,*) '         lateral boundary condition for sea ice dynamics          rn_ishlat     = ', rn_ishlat 
    150139         WRITE(numout,*) '         drag coefficient for oceanic stress                      rn_cio        = ', rn_cio 
Note: See TracChangeset for help on using the changeset viewer.