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 6989 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limdyn.F90 – NEMO

Ignore:
Timestamp:
2016-10-05T09:43:42+02:00 (8 years ago)
Author:
clem
Message:

use a namelist parameter to choose between the different advection schemes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limdyn.F90

    r6796 r6989  
    2626   USE prtctl           ! Print control 
    2727   USE lib_fortran      ! glob_sum 
    28    USE timing          ! Timing 
    29    USE limcons        ! conservation tests 
     28   USE timing           ! Timing 
     29   USE limcons          ! conservation tests 
    3030   USE limvar 
    3131 
     
    3333   PRIVATE 
    3434 
    35    PUBLIC   lim_dyn   ! routine called by ice_step 
     35   PUBLIC   lim_dyn        ! routine called by sbcice_lim.F90 
     36   PUBLIC   lim_dyn_init   ! routine called by sbcice_lim.F90 
    3637 
    3738   !! * Substitutions 
     
    6465 
    6566      CALL lim_var_agg(1)                      ! aggregate ice categories 
    66  
    67       IF( kt == nit000 )   CALL lim_dyn_init   ! Initialization (first time-step only) 
    6867      ! 
    6968      ! conservation test 
     
    147146      !!------------------------------------------------------------------- 
    148147      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    149       NAMELIST/namicedyn/ nn_icestr, ln_icestr_bvf, rn_pe_rdg, rn_pstar, rn_crhg, rn_cio,  rn_creepl, rn_ecc, & 
     148      NAMELIST/namicedyn/ nn_limadv, nn_limadv_ord,  & 
     149         &                nn_icestr, ln_icestr_bvf, rn_pe_rdg, rn_pstar, rn_crhg, rn_cio, rn_creepl, rn_ecc, & 
    150150         &                nn_nevp, rn_relast, ln_landfast, rn_gamma, rn_icebfr, rn_lfrelax 
    151151      !!------------------------------------------------------------------- 
     
    164164         WRITE(numout,*) 'lim_dyn_init : ice parameters for ice dynamics ' 
    165165         WRITE(numout,*) '~~~~~~~~~~~~' 
     166         ! limtrp 
     167         WRITE(numout,*)'    choose the advection scheme (-1=Prather, 0=Ulimate-Macho)   nn_limadv     = ', nn_limadv  
     168         WRITE(numout,*)'    choose the order of the scheme (if ultimate)                nn_limadv_ord = ', nn_limadv_ord   
     169         ! limrhg 
    166170         WRITE(numout,*)'    ice strength parameterization (0=Hibler 1=Rothrock)         nn_icestr     = ', nn_icestr  
    167171         WRITE(numout,*)'    Including brine volume in ice strength comp.                ln_icestr_bvf = ', ln_icestr_bvf 
     
    180184      ENDIF 
    181185      ! 
    182       usecc2 = 1._wp / ( rn_ecc * rn_ecc ) 
    183       rhoco  = rau0  * rn_cio 
    184       ! 
    185186   END SUBROUTINE lim_dyn_init 
    186187 
Note: See TracChangeset for help on using the changeset viewer.