Ignore:
Timestamp:
Mar 15, 2022, 2:20:31 PM (3 years ago)
Author:
oboucher
Message:

Tidying up and adding ok_guide to output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/conf_gcm.F90

    r4055 r4100  
    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)
    324   if (iflag_top_bound < 0 .or. iflag_top_bound > 2) &
     323  IF (iflag_top_bound < 0 .or. iflag_top_bound > 2) &
    325324       call abort_gcm("conf_gcm", 'iflag_top_bound must be 0, 1 or 2', 1)
    326325
     
    396395  !     .........   (  modif  le 17/04/96 )   .........
    397396
    398   test_etatinit: IF (.not. etatinit) then
     397  test_etatinit: IF (.not. etatinit) THEN
    399398     !Config  Key  = clon
    400399     !Config  Desc = centre du zoom, longitude
     
    677676     write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins
    678677     write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave
    679   else
     678  ELSE
    680679     !Config  Key  = clon
    681680     !Config  Desc = centre du zoom, longitude
     
    877876
    878877     write(lunout,*)' #########################################'
    879      write(lunout,*)' Configuration des parametres de cel0' &
    880           //'_limit: '
     878     write(lunout,*)' Configuration des parametres de cel0_limit: '
    881879     write(lunout,*)' planet_type = ', planet_type
    882880     write(lunout,*)' calend = ', calend
     
    922920     write(lunout,*)' ok_limit = ', ok_limit
    923921     write(lunout,*)' ok_etat0 = ', ok_etat0
     922     write(lunout,*)' ok_guide = ', ok_guide
    924923     write(lunout,*)' read_orop = ', read_orop
    925   end IF test_etatinit
     924  ENDIF test_etatinit
    926925
    927926END SUBROUTINE conf_gcm
Note: See TracChangeset for help on using the changeset viewer.