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

Ignore:
Timestamp:
2017-12-15T14:59:08+01:00 (6 years ago)
Author:
vancop
Message:

monocat to virtual_itd

File:
1 edited

Legend:

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

    r9019 r9076  
    285285      !!------------------------------------------------------------------- 
    286286      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    287       NAMELIST/nampar/ jpl, nlay_i, nlay_s, nn_monocat, ln_icedyn, ln_icethd, rn_amax_n, rn_amax_s,  & 
     287      NAMELIST/nampar/ jpl, nlay_i, nlay_s, nn_virtual_itd, ln_icedyn, ln_icethd, rn_amax_n, rn_amax_s,  & 
    288288         &             cn_icerst_in, cn_icerst_indir, cn_icerst_out, cn_icerst_outdir 
    289289      !!------------------------------------------------------------------- 
     
    306306         WRITE(numout,*) '      number of ice  layers                                  nlay_i = ', nlay_i 
    307307         WRITE(numout,*) '      number of snow layers                                  nlay_s = ', nlay_s 
    308          WRITE(numout,*) '      virtual ITD mono-category param (1-4) or not (0)   nn_monocat = ', nn_monocat 
     308         WRITE(numout,*) '      virtual ITD param for jpl=1 (1-3) or not (0)   nn_virtual_itd = ', nn_virtual_itd 
    309309         WRITE(numout,*) '      Ice dynamics       (T) or not (F)                   ln_icedyn = ', ln_icedyn 
    310310         WRITE(numout,*) '      Ice thermodynamics (T) or not (F)                   ln_icethd = ', ln_icethd 
     
    314314      ! 
    315315      !                                        !--- check consistency 
    316       IF ( jpl > 1 .AND. nn_monocat == 1 ) THEN 
    317          nn_monocat = 0 
     316      IF ( jpl > 1 .AND. nn_virtual_itd == 1 ) THEN 
     317         nn_virtual_itd = 0 
    318318         IF(lwp) WRITE(numout,*) 
    319          IF(lwp) WRITE(numout,*) '   nn_monocat forced to 0 as jpl>1, i.e. multi-category case is chosen' 
     319         IF(lwp) WRITE(numout,*) '   nn_virtual_itd forced to 0 as jpl>1, no need with multiple categories to emulate them' 
    320320      ENDIF 
    321321      ! 
     
    323323        CALL ctl_stop( 'STOP', 'par_init: in coupled mode, nn_cats_cpl should be either 1 or jpl' ) 
    324324     ENDIF 
    325 !     IF ( jpl == 1 .AND. nn_monocat == 0 ) THEN 
    326 !        CALL ctl_stop( 'STOP', 'par_init : if jpl=1 then nn_monocat should be between 1 and 4' ) 
    327 !     ENDIF 
    328325      ! 
    329326      IF( ln_bdy .AND. ln_icediachk )   CALL ctl_warn('par_init: online conservation check does not work with BDY') 
Note: See TracChangeset for help on using the changeset viewer.