Ignore:
Timestamp:
Dec 6, 2022, 12:01:16 AM (19 months ago)
Author:
lguez
Message:

Sync latest trunk changes to Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/dyn3d/conf_gcm.F90

    r4013 r4368  
    116116  CALL getin('calend', calend)
    117117! initialize year_len for aquaplanets and 1D
    118       if (calend == 'earth_360d') then
    119         year_len=360
    120       else if (calend == 'earth_365d') then
    121         year_len=365
    122       else if (calend == 'earth_366d') then
    123         year_len=366
    124       else
    125         year_len=1
    126       endif
     118  IF (calend == 'earth_360d') THEN
     119     year_len=360
     120  ELSE IF (calend == 'earth_365d') THEN
     121     year_len=365
     122  ELSE IF (calend == 'earth_366d') THEN
     123     year_len=366
     124  ELSE
     125     year_len=1
     126  ENDIF
    127127
    128128  !Config  Key  = dayref
     
    315315  CALL getin('ngroup',ngroup)
    316316
    317 
    318317  ! top_bound sponge: only active if ok_strato=.true. and iflag_top_bound!=0
    319318  !                   iflag_top_bound=0 for no sponge
     
    322321  iflag_top_bound=1
    323322  CALL getin('iflag_top_bound',iflag_top_bound)
     323  IF (iflag_top_bound < 0 .or. iflag_top_bound > 2) &
     324       call abort_gcm("conf_gcm", 'iflag_top_bound must be 0, 1 or 2', 1)
    324325
    325326  ! mode_top_bound : fields towards which sponge relaxation will be done:
     
    394395  !     .........   (  modif  le 17/04/96 )   .........
    395396
    396   test_etatinit: IF (.not. etatinit) then
     397  test_etatinit: IF (.not. etatinit) THEN
    397398     !Config  Key  = clon
    398399     !Config  Desc = centre du zoom, longitude
     
    598599     type_trac = 'lmdz'
    599600     CALL getin('type_trac',type_trac)
    600 
    601      !Config  Key  = config_inca
    602      !Config  Desc = Choix de configuration de INCA
    603      !Config  Def  = none
    604      !Config  Help = Choix de configuration de INCA :
    605      !Config         'none' = sans INCA
    606      !Config         'chem' = INCA avec calcul de chemie
    607      !Config         'aero' = INCA avec calcul des aerosols
    608      config_inca = 'none'
    609      CALL getin('config_inca',config_inca)
    610601
    611602     !Config  Key  = ok_dynzon
     
    671662     write(lunout,*)' offline = ', offline
    672663     write(lunout,*)' type_trac = ', type_trac
    673      write(lunout,*)' config_inca = ', config_inca
    674664     write(lunout,*)' ok_dynzon = ', ok_dynzon
    675665     write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins
    676666     write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave
    677   else
     667  ELSE
    678668     !Config  Key  = clon
    679669     !Config  Desc = centre du zoom, longitude
     
    795785     CALL getin('type_trac',type_trac)
    796786
    797      !Config  Key  = config_inca
    798      !Config  Desc = Choix de configuration de INCA
    799      !Config  Def  = none
    800      !Config  Help = Choix de configuration de INCA :
    801      !Config         'none' = sans INCA
    802      !Config         'chem' = INCA avec calcul de chemie
    803      !Config         'aero' = INCA avec calcul des aerosols
    804      config_inca = 'none'
    805      CALL getin('config_inca',config_inca)
    806 
    807787     !Config  Key  = ok_dynzon
    808788     !Config  Desc = sortie des transports zonaux dans la dynamique
     
    875855
    876856     write(lunout,*)' #########################################'
    877      write(lunout,*)' Configuration des parametres de cel0' &
    878           //'_limit: '
     857     write(lunout,*)' Configuration des parametres de cel0_limit: '
    879858     write(lunout,*)' planet_type = ', planet_type
    880859     write(lunout,*)' calend = ', calend
     
    912891     write(lunout,*)' offline = ', offline
    913892     write(lunout,*)' type_trac = ', type_trac
    914      write(lunout,*)' config_inca = ', config_inca
    915893     write(lunout,*)' ok_dynzon = ', ok_dynzon
    916894     write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins
     
    920898     write(lunout,*)' ok_limit = ', ok_limit
    921899     write(lunout,*)' ok_etat0 = ', ok_etat0
     900     write(lunout,*)' ok_guide = ', ok_guide
    922901     write(lunout,*)' read_orop = ', read_orop
    923   end IF test_etatinit
     902  ENDIF test_etatinit
    924903
    925904END SUBROUTINE conf_gcm
Note: See TracChangeset for help on using the changeset viewer.