Ignore:
Timestamp:
Jul 3, 2025, 3:28:27 PM (4 weeks ago)
Author:
ikovalenko
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/conf_phys.F90

    r3451 r3827  
    99   use init_print_control_mod, only: init_print_control
    1010   use print_control_mod, only: lunout
    11    use IOIPSL, only: getin
     11   use ioipsl_getin_p_mod, only: getin_p
    1212   use age_of_air_mod, only: ok_aoa, reinit_aoa, lev_aoa
    1313
     
    4444       ! do we read a startphy.nc file? (default: .true.)
    4545       startphy_file=.true.
    46        CALL getin("startphy_file",startphy_file)
     46       CALL getin_p("startphy_file",startphy_file)
    4747
    4848!Config  Key  = cycle_diurne
     
    5252!Config         Peut etre util pour accelerer le code !
    5353       cycle_diurne = .TRUE.       
    54        call getin('cycle_diurne',cycle_diurne)
     54       call getin_p('cycle_diurne',cycle_diurne)
    5555
    5656!Config  Key  = soil_model
     
    6161!Config         plus de choix ! Ou meme une liste d'options !
    6262       soil_model = .true.
    63        call getin('soil_model',soil_model)
     63       call getin_p('soil_model',soil_model)
    6464
    6565!Config  Key  = ok_orodr
     
    6969!Config         
    7070       ok_orodr = .false.
    71        call getin('ok_orodr',ok_orodr)
     71       call getin_p('ok_orodr',ok_orodr)
    7272
    7373!Config  Key  =  ok_orolf
     
    7676!Config  Help = GW lift orographie (pas utilise)
    7777       ok_orolf = .false.
    78        call getin('ok_orolf', ok_orolf)
     78       call getin_p('ok_orolf', ok_orolf)
    7979
    8080!Config  Key  = ok_gw_nonoro
     
    8383!Config  Help = GW drag non-orographique
    8484       ok_gw_nonoro = .false.
    85        call getin('ok_gw_nonoro',ok_gw_nonoro)
     85       call getin_p('ok_gw_nonoro',ok_gw_nonoro)
    8686
    8787!Config  Key  = nbapp_rad
     
    9191!Config         par jour.
    9292       nbapp_rad = 12
    93        call getin('nbapp_rad',nbapp_rad)
     93       call getin_p('nbapp_rad',nbapp_rad)
    9494       print*,"nbapp_rad",nbapp_rad
    9595!Config  Key  = nbapp_chem
     
    9999!Config         par jour.
    100100       nbapp_chem = 24000
    101        call getin('nbapp_chem',nbapp_chem)
     101       call getin_p('nbapp_chem',nbapp_chem)
    102102
    103103!Config  Key  = iflag_con
     
    110110!Config         3 pour CCM(NCAR) 
    111111       iflag_con = 0
    112        call getin('iflag_con',iflag_con)
     112       call getin_p('iflag_con',iflag_con)
    113113
    114114!******************* fin parametres anciennement lus dans gcm.def
     
    121121!
    122122  ok_journe = .false.
    123   call getin('OK_journe', ok_journe)
     123  call getin_p('OK_journe', ok_journe)
    124124!
    125125!Config Key  = OK_mensuel
     
    130130!
    131131  ok_mensuel = .false.
    132   call getin('OK_mensuel', ok_mensuel)
     132  call getin_p('OK_mensuel', ok_mensuel)
    133133!
    134134!Config Key  = OK_instan
     
    139139!
    140140  ok_instan = .false.
    141   call getin('OK_instan', ok_instan)
     141  call getin_p('OK_instan', ok_instan)
    142142!
    143143!Config  Key  = ecritphy
     
    148148!
    149149       ecriphy = 1.
    150        call getin('ecritphy', ecriphy)
     150       call getin_p('ecritphy', ecriphy)
    151151!
    152152!
     
    158158!
    159159  if_ebil = 0
    160   call getin('if_ebil', if_ebil)
     160  call getin_p('if_ebil', if_ebil)
    161161!!
    162162!! Parametres orbitaux
     
    170170! R_ecc = 0.006787
    171171  R_ecc   = 0.0
    172   call getin('R_ecc', R_ecc)
     172  call getin_p('R_ecc', R_ecc)
    173173!!
    174174!Config Key  = R_peri
     
    179179! VENUS
    180180  R_peri = 0.
    181   call getin('R_peri', R_peri)
     181  call getin_p('R_peri', R_peri)
    182182!!
    183183!Config Key  = R_incl
     
    188188! VENUS
    189189  R_incl = 0.0
    190   call getin('R_incl', R_incl)
     190  call getin_p('R_incl', R_incl)
    191191!
    192192!
     
    206206! 6-9 = schema des thermiques Fred
    207207  iflag_pbl = 1
    208   call getin('iflag_pbl',iflag_pbl)
     208  call getin_p('iflag_pbl',iflag_pbl)
    209209
    210210!
     
    215215!
    216216  ksta = 1.0e-7
    217   call getin('ksta',ksta)
     217  call getin_p('ksta',ksta)
    218218
    219219!
     
    224224!
    225225  z0 = 1.0e-2
    226   call getin('z0',z0)
     226  call getin_p('z0',z0)
    227227
    228228!
     
    233233!
    234234  lmixmin = 35.
    235   call getin('lmixmin',lmixmin)
     235  call getin_p('lmixmin',lmixmin)
    236236
    237237!
     
    242242!
    243243  ok_kzmin = .false.
    244   call getin('ok_kzmin',ok_kzmin)
     244  call getin_p('ok_kzmin',ok_kzmin)
    245245
    246246  ok_clmain = .true.
    247   call getin('ok_clmain',ok_clmain)
     247  call getin_p('ok_clmain',ok_clmain)
    248248
    249249  physideal = .false.
    250   call getin('physideal',physideal)
     250  call getin_p('physideal',physideal)
    251251
    252252!Config Key  = iflag_ajs
     
    256256!
    257257  iflag_ajs = 0
    258   call getin('iflag_ajs',iflag_ajs)
     258  call getin_p('iflag_ajs',iflag_ajs)
    259259
    260260!
     
    265265!
    266266  inertie = 2000.
    267   call getin('inertie',inertie)
     267  call getin_p('inertie',inertie)
    268268!
    269269!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    277277!
    278278  lev_histins = 0
    279   call getin('lev_histins',lev_histins)
     279  call getin_p('lev_histins',lev_histins)
    280280
    281281!
     
    286286!
    287287  lev_histday = 1
    288   call getin('lev_histday',lev_histday)
     288  call getin_p('lev_histday',lev_histday)
    289289
    290290!
     
    295295!
    296296  lev_histmth = 2
    297   call getin('lev_histmth',lev_histmth)
     297  call getin_p('lev_histmth',lev_histmth)
    298298
    299299
     
    317317!       Need ok_chem or ok_cloud
    318318  tr_scheme = 0
    319   call getin('tr_scheme',tr_scheme)
     319  call getin_p('tr_scheme',tr_scheme)
    320320
    321321!Config Key = ok_aoa
     
    323323!Config Def = .false.
    324324  ok_aoa=.false.
    325   call getin('ok_aoa',ok_aoa)
     325  call getin_p('ok_aoa',ok_aoa)
    326326
    327327!Config Key = reinit_aoa
     
    329329!Config Def = .true.
    330330  reinit_aoa=.true.
    331   call getin('reinit_aoa',reinit_aoa)
     331  call getin_p('reinit_aoa',reinit_aoa)
    332332 
    333333!Config Key = lev_aoa
     
    335335!Config Def = 1 (surface)
    336336  lev_aoa=1
    337   call getin('lev_aoa',lev_aoa)
     337  call getin_p('lev_aoa',lev_aoa)
    338338
    339339!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    348348!
    349349  reinit_trac = .FALSE.
    350   call getin('reinit_trac',reinit_trac)
     350  call getin_p('reinit_trac',reinit_trac)
    351351 
    352352!
     
    357357!
    358358  ok_cloud = .false.
    359   call getin('ok_cloud',ok_cloud)
     359  call getin_p('ok_cloud',ok_cloud)
    360360
    361361!
     
    369369
    370370  cl_scheme = 2
    371   call getin('cl_scheme',cl_scheme)
     371  call getin_p('cl_scheme',cl_scheme)
    372372
    373373!
     
    378378!
    379379  ok_chem = .false.
    380   call getin('ok_chem',ok_chem)
     380  call getin_p('ok_chem',ok_chem)
    381381
    382382  if (((tr_scheme.ne.3).and.(ok_chem.or.ok_cloud)).or. &
     
    406406!
    407407  ok_sedim = .false.
    408   call getin('ok_sedim',ok_sedim)
     408  call getin_p('ok_sedim',ok_sedim)
    409409
    410410!
     
    415415!
    416416  nb_mode = 0
    417   call getin('nb_mode',nb_mode)
     417  call getin_p('nb_mode',nb_mode)
    418418 
    419419!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    430430! 2 = Generic module
    431431  solarchoice = 1
    432   call getin('solarchoice',solarchoice)
     432  call getin_p('solarchoice',solarchoice)
    433433
    434434!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    443443!
    444444  callnlte = .false.
    445   call getin('callnlte',callnlte)
     445  call getin_p('callnlte',callnlte)
    446446
    447447!
     
    451451!
    452452  callnirco2 = .false.
    453   call getin('callnirco2',callnirco2)
     453  call getin_p('callnirco2',callnirco2)
    454454
    455455!
     
    460460!
    461461  nircorr = 0
    462   call getin('nircorr',nircorr)
     462  call getin_p('nircorr',nircorr)
    463463
    464464!
     
    469469!
    470470  callthermos = .false.
    471   call getin('callthermos',callthermos)
     471  call getin_p('callthermos',callthermos)
    472472
    473473!
     
    478478!
    479479  nltemodel = 0
    480   call getin('nltemodel',nltemodel)
     480  call getin_p('nltemodel',nltemodel)
    481481
    482482!
     
    487487!
    488488  solvarmod = 1
    489   call getin('solvarmod',solvarmod)
     489  call getin_p('solvarmod',solvarmod)
    490490
    491491!
     
    496496!
    497497  fixed_euv_value =140.
    498   call getin('fixed_euv_value',fixed_euv_value)
     498  call getin_p('fixed_euv_value',fixed_euv_value)
    499499
    500500!
     
    505505!
    506506  euveff = 0.22
    507   call getin('euveff',euveff)
     507  call getin_p('euveff',euveff)
    508508
    509509!Config Key  = tuneupperatm
     
    513513!
    514514  tuneupperatm = .false.
    515   call getin('tuneupperatm',tuneupperatm)
     515  call getin_p('tuneupperatm',tuneupperatm)
    516516
    517517!
     
    522522!
    523523  ok_jonline = .false.
    524   call getin('ok_jonline',ok_jonline)
     524  call getin_p('ok_jonline',ok_jonline)
    525525
    526526!
     
    531531!
    532532  ok_ionchem = .false.
    533   call getin('ok_ionchem',ok_ionchem)
     533  call getin_p('ok_ionchem',ok_ionchem)
    534534
    535535  if ((ok_jonline.eqv..false.).and.(.true..eqv.ok_ionchem)) then
     
    549549!
    550550  ok_iondiff = .false.
    551   call getin('ok_iondiff',ok_iondiff)
     551  call getin_p('ok_iondiff',ok_iondiff)
    552552
    553553  if ((ok_ionchem.eqv..false.).and.(.true..eqv.ok_iondiff)) then
Note: See TracChangeset for help on using the changeset viewer.