source: LMDZ5/trunk/libf/phylmd/conf_phys_m.F90 @ 2306

Last change on this file since 2306 was 2305, checked in by jyg, 9 years ago

bug fixing in conf_phys_m.F90 concerning the
initialization of iflag_albedo and ok_chlorophyll.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 68.2 KB
Line 
1!
2! $Id: conf_phys.F90 1668 2012-10-12 10:47:37Z idelkadi $
3!
4!
5!
6module conf_phys_m
7
8  implicit none
9
10contains
11
12  subroutine conf_phys(ok_journe, ok_mensuel, ok_instan, ok_hf, &
13       ok_LES,&
14       callstats,&
15       solarlong0,seuil_inversion, &
16       fact_cldcon, facttemps,ok_newmicro,iflag_radia,&
17       iflag_cld_th, &
18       iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, &
19       ok_ade, ok_aie, ok_cdnc, aerosol_couple, &
20       flag_aerosol, flag_aerosol_strat, new_aod, &
21       bl95_b0, bl95_b1,&
22       read_climoz, &
23       alp_offset)
24
25    use IOIPSL
26    USE surface_data
27    USE phys_cal_mod
28    USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl
29    USE control_mod
30    USE mod_grid_phy_lmdz, only: klon_glo
31
32
33
34    include "conema3.h"
35    include "fisrtilp.h"
36    include "nuage.h"
37    include "YOMCST.h"
38    include "YOMCST2.h"
39
40    include "thermcell.h"
41    include "iniprint.h"
42
43
44    !IM : on inclut/initialise les taux de CH4, N2O, CFC11 et CFC12
45    include "clesphys.h"
46    include "compbl.h"
47    include "comsoil.h"
48    include "YOEGWD.h"
49    !
50    ! Configuration de la "physique" de LMDZ a l'aide de la fonction
51    ! GETIN de IOIPSL
52    !
53    ! LF 05/2001
54    !
55
56    !
57    ! type_ocean:      type d'ocean (force, slab, couple)
58    ! version_ocean:   version d'ocean (opa8/nemo pour type_ocean=couple ou
59    !                                   sicOBS,sicINT,sicNO pour type_ocean=slab)
60    ! ok_veget:   type de modele de vegetation
61    ! ok_journe:  sorties journalieres
62    ! ok_hf:  sorties haute frequence
63    ! ok_mensuel: sorties mensuelles
64    ! ok_instan:  sorties instantanees
65    ! ok_ade, ok_aie: apply or not aerosol direct and indirect effects
66    ! ok_cdnc, ok cloud droplet number concentration
67    ! flag_aerosol_strat : flag pour les aerosols stratos
68    ! bl95_b*: parameters in the formula to link CDNC to aerosol mass conc
69    !
70
71
72    ! Sortie:
73    logical              :: ok_newmicro
74    integer              :: iflag_radia
75    logical              :: ok_journe, ok_mensuel, ok_instan, ok_hf
76    logical              :: ok_LES
77    LOGICAL              :: callstats
78    LOGICAL              :: ok_ade, ok_aie, ok_cdnc, aerosol_couple
79    INTEGER              :: flag_aerosol
80    LOGICAL              :: flag_aerosol_strat
81    LOGICAL              :: new_aod
82    REAL                 :: bl95_b0, bl95_b1
83    real                 :: fact_cldcon, facttemps,ratqsbas,ratqshaut,tau_ratqs
84    integer              :: iflag_cld_th
85    integer              :: iflag_ratqs
86
87    character (len = 6),SAVE  :: type_ocean_omp, version_ocean_omp, ocean_omp
88    character (len = 10),SAVE  :: type_veget_omp
89    CHARACTER(len = 8),SAVE   :: aer_type_omp
90    logical,SAVE              :: ok_snow_omp
91    logical,SAVE              :: ok_newmicro_omp
92    logical,SAVE              :: ok_all_xml_omp
93    logical,SAVE        :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp       
94    logical,SAVE        :: ok_LES_omp   
95    LOGICAL,SAVE        :: callstats_omp
96    LOGICAL,SAVE        :: ok_ade_omp, ok_aie_omp, ok_cdnc_omp, aerosol_couple_omp
97    INTEGER, SAVE       :: flag_aerosol_omp
98    LOGICAL, SAVE       :: flag_aerosol_strat_omp
99    LOGICAL, SAVE       :: new_aod_omp
100    REAL,SAVE           :: bl95_b0_omp, bl95_b1_omp
101    REAL,SAVE           :: freq_ISCCP_omp, ecrit_ISCCP_omp
102    REAL,SAVE           :: freq_COSP_omp
103    real,SAVE           :: fact_cldcon_omp, facttemps_omp,ratqsbas_omp
104    real,SAVE           :: tau_cld_cv_omp, coefw_cld_cv_omp
105    integer,SAVE        :: iflag_cld_cv_omp
106
107
108    real,SAVE           :: ratqshaut_omp
109    real,SAVE           :: tau_ratqs_omp
110    REAL, SAVE          :: t_coupl_omp
111    integer,SAVE        :: iflag_radia_omp
112    integer,SAVE        :: iflag_rrtm_omp
113    integer,SAVE        :: iflag_albedo_omp !albedo SB
114    logical,save        :: ok_chlorophyll_omp ! albedo SB 
115    integer,SAVE        :: NSW_omp
116    integer,SAVE        :: iflag_cld_th_omp, ip_ebil_phy_omp
117    integer,SAVE        :: iflag_ratqs_omp
118
119    Real,SAVE           :: f_cdrag_ter_omp,f_cdrag_oce_omp
120    Real,SAVE           :: f_rugoro_omp   , z0min_omp
121    Real,SAVE           :: z0m_seaice_omp,z0h_seaice_omp
122    REAL,SAVE           :: min_wind_speed_omp,f_gust_wk_omp,f_gust_bl_omp,f_qsat_oce_omp, f_z0qh_oce_omp
123    INTEGER,SAVE        :: iflag_gusts_omp,iflag_z0_oce_omp
124
125    ! Local
126    real                 :: zzz
127
128    real :: seuil_inversion
129    real,save :: seuil_inversion_omp
130
131    integer,SAVE :: iflag_thermals_ed_omp,iflag_thermals_optflux_omp,iflag_thermals_closure_omp
132    real, SAVE :: fact_thermals_ed_dz_omp
133    integer,SAVE :: iflag_thermals_omp,nsplit_thermals_omp
134    real,save :: tau_thermals_omp,alp_bl_k_omp
135    ! nrlmd le 10/04/2012
136    integer,SAVE :: iflag_trig_bl_omp,iflag_clos_bl_omp
137    integer,SAVE :: tau_trig_shallow_omp,tau_trig_deep_omp
138    real,SAVE    :: s_trig_omp
139    ! fin nrlmd le 10/04/2012
140    real :: alp_offset
141    REAL, SAVE :: alp_offset_omp
142    integer,SAVE :: iflag_coupl_omp,iflag_clos_omp,iflag_wake_omp
143    integer,SAVE :: iflag_cvl_sigd_omp
144    REAL, SAVE :: coef_clos_ls_omp
145    REAL, SAVE :: supcrit1_omp, supcrit2_omp
146    INTEGER, SAVE :: iflag_mix_omp
147    real, save :: scut_omp, qqa1_omp, qqa2_omp, gammas_omp, Fmax_omp, alphas_omp
148    REAL, SAVE :: tmax_fonte_cv_omp
149
150    REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp
151    REAL,SAVE :: co2_ppm_omp, RCO2_omp, co2_ppm_per_omp, RCO2_per_omp
152    REAL,SAVE :: CH4_ppb_omp, RCH4_omp, CH4_ppb_per_omp, RCH4_per_omp
153    REAL,SAVE :: N2O_ppb_omp, RN2O_omp, N2O_ppb_per_omp, RN2O_per_omp
154    REAL,SAVE :: CFC11_ppt_omp,RCFC11_omp,CFC11_ppt_per_omp,RCFC11_per_omp
155    REAL,SAVE :: CFC12_ppt_omp,RCFC12_omp,CFC12_ppt_per_omp,RCFC12_per_omp
156    LOGICAL,SAVE :: ok_4xCO2atm_omp
157    REAL,SAVE :: epmax_omp
158    LOGICAL,SAVE :: ok_adj_ema_omp
159    INTEGER,SAVE :: iflag_clw_omp
160    REAL,SAVE :: cld_lc_lsc_omp,cld_lc_con_omp,cld_tau_lsc_omp,cld_tau_con_omp
161    REAL,SAVE :: ffallv_lsc_omp, ffallv_con_omp,coef_eva_omp
162    LOGICAL,SAVE :: reevap_ice_omp
163    INTEGER,SAVE :: iflag_pdf_omp
164    INTEGER,SAVE :: iflag_ice_thermo_omp
165    INTEGER,SAVE :: iflag_t_glace_omp
166    REAL,SAVE :: rad_froid_omp, rad_chau1_omp, rad_chau2_omp
167    REAL,SAVE :: t_glace_min_omp, t_glace_max_omp
168    REAL,SAVE :: exposant_glace_omp
169    REAL,SAVE :: rei_min_omp, rei_max_omp
170    REAL,SAVE :: inertie_sol_omp,inertie_sno_omp,inertie_ice_omp
171    REAL,SAVE :: qsol0_omp
172    REAL,SAVE :: evap0_omp
173    REAL,SAVE :: albsno0_omp
174    REAL      :: solarlong0
175    REAL,SAVE :: solarlong0_omp
176    INTEGER,SAVE :: top_height_omp,overlap_omp
177    REAL,SAVE :: cdmmax_omp,cdhmax_omp,ksta_omp,ksta_ter_omp,f_ri_cd_min_omp
178    LOGICAL,SAVE :: ok_kzmin_omp
179    REAL, SAVE ::  fmagic_omp, pmagic_omp
180    INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp
181    INTEGER,SAVE :: iflag_pbl_split_omp
182    Integer, save :: lev_histins_omp, lev_histLES_omp
183    INTEGER, SAVE :: lev_histdayNMC_omp
184    INTEGER, SAVE :: levout_histNMC_omp(3)
185    LOGICAL, SAVE :: ok_histNMC_omp(3)
186    REAL, SAVE :: freq_outNMC_omp(3), freq_calNMC_omp(3)
187    CHARACTER*4, SAVE :: type_run_omp
188    LOGICAL,SAVE :: ok_cosp_omp
189    LOGICAL,SAVE :: ok_mensuelCOSP_omp,ok_journeCOSP_omp,ok_hfCOSP_omp
190    REAL,SAVE :: lonmin_ins_omp, lonmax_ins_omp, latmin_ins_omp, latmax_ins_omp
191    REAL,SAVE :: ecrit_hf_omp, ecrit_day_omp, ecrit_mth_omp, ecrit_reg_omp
192    REAL,SAVE :: ecrit_ins_omp
193    REAL,SAVE :: ecrit_LES_omp
194    REAL,SAVE :: ecrit_tra_omp
195    REAL,SAVE :: cvl_comp_threshold_omp
196    REAL,SAVE :: cvl_sig2feed_omp
197    REAL,SAVE :: cvl_corr_omp
198    LOGICAL,SAVE :: ok_lic_melt_omp
199    !
200    LOGICAL,SAVE :: cycle_diurne_omp,soil_model_omp,new_oliq_omp
201    LOGICAL,SAVE :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp
202    INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp
203    INTEGER, SAVE :: iflag_ener_conserv_omp
204    LOGICAL, SAVE :: ok_conserv_q_omp
205    INTEGER, SAVE :: iflag_fisrtilp_qsat_omp
206    LOGICAL,SAVE :: ok_strato_omp
207    LOGICAL,SAVE :: ok_hines_omp, ok_gwd_rando_omp
208    real, SAVE:: GWD_RANDO_RUWMAX_omp, gwd_rando_sat_omp
209    LOGICAL,SAVE :: ok_qch4_omp
210    LOGICAL,SAVE      :: carbon_cycle_tr_omp
211    LOGICAL,SAVE      :: carbon_cycle_cpl_omp
212
213    integer, intent(out):: read_climoz ! read ozone climatology, OpenMP shared
214    ! Allowed values are 0, 1 and 2
215    ! 0: do not read an ozone climatology
216    ! 1: read a single ozone climatology that will be used day and night
217    ! 2: read two ozone climatologies, the average day and night
218    ! climatology and the daylight climatology
219
220    !-----------------------------------------------------------------
221
222     print*,'CONFPHYS ENTREE'
223    !$OMP MASTER
224    !Config Key  = type_ocean
225    !Config Desc = Type d'ocean
226    !Config Def  = force
227    !Config Help = Type d'ocean utilise: force, slab,couple
228    !
229    type_ocean_omp = 'force '
230    call getin('type_ocean', type_ocean_omp)
231    !
232    !Config Key  = version_ocean
233    !Config Desc = Version d'ocean
234    !Config Def  = xxxxxx
235    !Config Help = Version d'ocean utilise: opa8/nemo/sicOBS/xxxxxx
236    !
237    version_ocean_omp = 'xxxxxx'
238    call getin('version_ocean', version_ocean_omp)
239
240    !Config Key  = OCEAN
241    !Config Desc = Old parameter name for type_ocean
242    !Config Def  = yyyyyy
243    !Config Help = This is only for testing purpose
244    !
245    ocean_omp = 'yyyyyy'
246    call getin('OCEAN', ocean_omp)
247    IF (ocean_omp /= 'yyyyyy') THEN
248       WRITE(lunout,*)'ERROR! Old variable name OCEAN used in parmeter file.'
249       WRITE(lunout,*)'Variable OCEAN has been replaced by the variable type_ocean.'
250       WRITE(lunout,*)'You have to update your parameter file physiq.def to succed running'
251       CALL abort_gcm('conf_phys','Variable OCEAN no longer existing, use variable name type_ocean',1)
252    END IF
253
254    !Config Key  = t_coupl
255    !Config Desc = Pas de temps du couplage atm/oce en sec.
256    !Config Def  = 86400
257    !Config Help = This is only for testing purpose
258    !
259    t_coupl_omp = 86400.
260    call getin('t_coupl', t_coupl_omp)
261    IF (t_coupl_omp == 0) THEN
262       WRITE(lunout,*)'ERROR! Timestep of coupling between atmosphere and ocean'
263       WRITE(lunout,*)'cannot be zero.'
264       CALL abort_gcm('conf_phys','t_coupl = 0.',1)
265    END IF
266
267    !
268    !Config Key  = ok_all_xml
269    !Config Desc = utiliser les xml pourles définitions des champs pour xios
270    !Config Def  = .false.
271    !Config Help =
272    !
273    ok_all_xml_omp = .false.
274    call getin('ok_all_xml', ok_all_xml_omp)
275    !
276
277    !
278    !Config Key  = VEGET
279    !Config Desc = Type de modele de vegetation
280    !Config Def  = .false.
281    !Config Help = Type de modele de vegetation utilise
282    !
283    type_veget_omp ='orchidee'
284    call getin('VEGET', type_veget_omp)
285    !
286
287    ! Martin
288    !Config Key  = ok_snow
289    !Config Desc = Flag to activate snow model SISVAT
290    !Config Def  = .false.
291    ok_snow_omp = .false.
292    call getin('ok_snow', ok_snow_omp)
293    ! Martin
294
295    !Config Key  = OK_journe
296    !Config Desc = Pour des sorties journalieres
297    !Config Def  = .false.
298    !Config Help = Pour creer le fichier histday contenant les sorties
299    !              journalieres
300    !
301    ok_journe_omp = .false.
302    call getin('OK_journe', ok_journe_omp)
303    !
304    !Config Key  = ok_hf
305    !Config Desc = Pour des sorties haute frequence
306    !Config Def  = .false.
307    !Config Help = Pour creer le fichier histhf contenant les sorties
308    !              haute frequence ( 3h ou 6h)
309    !
310    ok_hf_omp = .false.
311    call getin('ok_hf', ok_hf_omp)
312    !
313    !Config Key  = OK_mensuel
314    !Config Desc = Pour des sorties mensuelles
315    !Config Def  = .true.
316    !Config Help = Pour creer le fichier histmth contenant les sorties
317    !              mensuelles
318    !
319    ok_mensuel_omp = .true.
320    call getin('OK_mensuel', ok_mensuel_omp)
321    !
322    !Config Key  = OK_instan
323    !Config Desc = Pour des sorties instantanees
324    !Config Def  = .false.
325    !Config Help = Pour creer le fichier histins contenant les sorties
326    !              instantanees
327    !
328    ok_instan_omp = .false.
329    call getin('OK_instan', ok_instan_omp)
330    !
331    !Config Key  = ok_ade
332    !Config Desc = Aerosol direct effect or not?
333    !Config Def  = .false.
334    !Config Help = Used in radlwsw.F
335    !
336    ok_ade_omp = .false.
337    call getin('ok_ade', ok_ade_omp)
338
339    !
340    !Config Key  = ok_aie
341    !Config Desc = Aerosol indirect effect or not?
342    !Config Def  = .false.
343    !Config Help = Used in nuage.F and radlwsw.F
344    !
345    ok_aie_omp = .false.
346    call getin('ok_aie', ok_aie_omp)
347
348    !
349    !Config Key  = ok_cdnc
350    !Config Desc = ok cloud droplet number concentration
351    !Config Def  = .false.
352    !Config Help = Used in newmicro.F
353    !
354    ok_cdnc_omp = .false.
355    call getin('ok_cdnc', ok_cdnc_omp)
356    !
357    !Config Key  = aerosol_couple
358    !Config Desc = read aerosol in file or calcul by inca
359    !Config Def  = .false.
360    !Config Help = Used in physiq.F
361    !
362    aerosol_couple_omp = .false.
363    CALL getin('aerosol_couple',aerosol_couple_omp)
364    !
365    !Config Key  = flag_aerosol
366    !Config Desc = which aerosol is use for coupled model
367    !Config Def  = 1
368    !Config Help = Used in physiq.F
369    !
370    ! - flag_aerosol=0 => no aerosol
371    ! - flag_aerosol=1 => so4 only (defaut)
372    ! - flag_aerosol=2 => bc  only
373    ! - flag_aerosol=3 => pom only
374    ! - flag_aerosol=4 => seasalt only
375    ! - flag_aerosol=5 => dust only
376    ! - flag_aerosol=6 => all aerosol
377
378    flag_aerosol_omp = 0
379    CALL getin('flag_aerosol',flag_aerosol_omp)
380    !
381    !Config Key  = flag_aerosol_strat
382    !Config Desc = use stratospheric aerosols T/F
383    !Config Def  = false
384    !Config Help = Used in physiq.F
385    !
386    !
387    flag_aerosol_strat_omp = .false.
388    CALL getin('flag_aerosol_strat',flag_aerosol_strat_omp)
389
390    ! Temporary variable for testing purpose!
391    !Config Key  = new_aod
392    !Config Desc = which calcul of aeropt
393    !Config Def  = false
394    !Config Help = Used in physiq.F
395    !
396    new_aod_omp = .true.
397    CALL getin('new_aod',new_aod_omp)
398
399    !
400    !Config Key  = aer_type
401    !Config Desc = Use a constant field for the aerosols
402    !Config Def  = scenario
403    !Config Help = Used in readaerosol.F90
404    !
405    aer_type_omp = 'scenario'
406    call getin('aer_type', aer_type_omp)
407
408    !
409    !Config Key  = bl95_b0
410    !Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995)
411    !Config Def  = .false.
412    !Config Help = Used in nuage.F
413    !
414    bl95_b0_omp = 2.
415    call getin('bl95_b0', bl95_b0_omp)
416
417    !Config Key  = bl95_b1
418    !Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995)
419    !Config Def  = .false.
420    !Config Help = Used in nuage.F
421    !
422    bl95_b1_omp = 0.2
423    call getin('bl95_b1', bl95_b1_omp)
424
425    !Config Key  = freq_ISCCP
426    !Config Desc = Frequence d'appel du simulateur ISCCP en secondes;
427    !              par defaut 10800, i.e. 3 heures
428    !Config Def  = 10800.
429    !Config Help = Used in ini_histISCCP.h
430    !
431    freq_ISCCP_omp = 10800.
432    call getin('freq_ISCCP', freq_ISCCP_omp)
433    !
434    !Config Key  = ecrit_ISCCP
435    !Config Desc = Frequence d'ecriture des resultats du simulateur ISCCP en nombre de jours;
436    !              par defaut 1., i.e. 1 jour
437    !Config Def  = 1.
438    !Config Help = Used in ini_histISCCP.h
439    !
440    !
441    ecrit_ISCCP_omp = 1.
442    call getin('ecrit_ISCCP', ecrit_ISCCP_omp)
443
444    !Config Key  = freq_COSP
445    !Config Desc = Frequence d'appel du simulateur COSP en secondes;
446    !              par defaut 10800, i.e. 3 heures
447    !Config Def  = 10800.
448    !Config Help = Used in ini_histdayCOSP.h
449    !
450    freq_COSP_omp = 10800.
451    call getin('freq_COSP', freq_COSP_omp)
452
453    !
454    !Config Key  = ip_ebil_phy
455    !Config Desc = Niveau de sortie pour les diags bilan d'energie
456    !Config Def  = 0
457    !Config Help =
458    !               
459    ip_ebil_phy_omp = 0
460    call getin('ip_ebil_phy', ip_ebil_phy_omp)
461    !
462    !Config Key  = seuil_inversion
463    !Config Desc = Seuil ur dTh pour le choix entre les schemas de CL
464    !Config Def  = -0.1
465    !Config Help =
466    !               
467    seuil_inversion_omp = -0.1
468    call getin('seuil_inversion', seuil_inversion_omp)
469
470    !
471    ! Constante solaire & Parametres orbitaux & taux gaz effet de serre BEG
472    !
473    !Config Key  = R_ecc
474    !Config Desc = Excentricite
475    !Config Def  = 0.016715
476    !Config Help =
477    !               
478    !valeur AMIP II
479    R_ecc_omp = 0.016715
480    call getin('R_ecc', R_ecc_omp)
481    !
482    !Config Key  = R_peri
483    !Config Desc = Equinoxe
484    !Config Def  =
485    !Config Help =
486    !               
487    !
488    !valeur AMIP II
489    R_peri_omp = 102.7
490    call getin('R_peri', R_peri_omp)
491    !
492    !Config Key  = R_incl
493    !Config Desc = Inclinaison
494    !Config Def  =
495    !Config Help =
496    !               
497    !
498    !valeur AMIP II
499    R_incl_omp = 23.441
500    call getin('R_incl', R_incl_omp)
501    !
502    !Config Key  = solaire
503    !Config Desc = Constante solaire en W/m2
504    !Config Def  = 1365.
505    !Config Help =
506    !               
507    !
508    !valeur AMIP II
509    solaire_omp = 1365.
510    call getin('solaire', solaire_omp)
511    !
512    !Config Key  = co2_ppm
513    !Config Desc = concentration du gaz carbonique en ppmv
514    !Config Def  = 348.
515    !Config Help =
516    !               
517    !
518    !valeur AMIP II
519    co2_ppm_omp = 348.
520    call getin('co2_ppm', co2_ppm_omp)
521    !
522    !Config Key  = RCO2
523    !Config Desc = Concentration du CO2
524    !Config Def  = co2_ppm * 1.0e-06  * 44.011/28.97
525    !Config Def  = 348. * 1.0e-06  * 44.011/28.97
526    !Config Help =
527    !               
528    ! RCO2 = 5.286789092164308E-04
529    !ancienne valeur
530    RCO2_omp = co2_ppm_omp * 1.0e-06  * 44.011/28.97 ! pour co2_ppm=348.
531
532    !  call getin('RCO2', RCO2)
533    !
534    !Config Key  = RCH4
535    !Config Desc = Concentration du CH4
536    !Config Def  = 1.65E-06* 16.043/28.97
537    !Config Help =
538    !               
539    !
540    !valeur AMIP II
541    !OK  RCH4 = 1.65E-06* 16.043/28.97
542    ! RCH4 = 9.137366240938903E-07
543    !
544    !ancienne valeur
545    ! RCH4 = 1.72E-06* 16.043/28.97
546    !OK call getin('RCH4', RCH4)
547    zzz = 1650.
548    call getin('CH4_ppb', zzz)
549    CH4_ppb_omp = zzz
550    RCH4_omp = CH4_ppb_omp * 1.0E-09 * 16.043/28.97
551    !
552    !Config Key  = RN2O
553    !Config Desc = Concentration du N2O
554    !Config Def  = 306.E-09* 44.013/28.97
555    !Config Help =
556    !               
557    !
558    !valeur AMIP II
559    !OK  RN2O = 306.E-09* 44.013/28.97
560    ! RN2O = 4.648939592682085E-07
561    !
562    !ancienne valeur
563    ! RN2O = 310.E-09* 44.013/28.97
564    !OK  call getin('RN2O', RN2O)
565    zzz=306.
566    call getin('N2O_ppb', zzz)
567    N2O_ppb_omp = zzz
568    RN2O_omp = N2O_ppb_omp * 1.0E-09 * 44.013/28.97
569    !
570    !Config Key  = RCFC11
571    !Config Desc = Concentration du CFC11
572    !Config Def  = 280.E-12* 137.3686/28.97
573    !Config Help =
574    !               
575    !
576    !OK RCFC11 = 280.E-12* 137.3686/28.97
577    zzz = 280.
578    call getin('CFC11_ppt',zzz)
579    CFC11_ppt_omp = zzz
580    RCFC11_omp=CFC11_ppt_omp* 1.0E-12 * 137.3686/28.97
581    ! RCFC11 = 1.327690990680013E-09
582    !OK call getin('RCFC11', RCFC11)
583    !
584    !Config Key  = RCFC12
585    !Config Desc = Concentration du CFC12
586    !Config Def  = 484.E-12* 120.9140/28.97
587    !Config Help =
588    !               
589    !
590    !OK RCFC12 = 484.E-12* 120.9140/28.97
591    zzz = 484.
592    call getin('CFC12_ppt',zzz)
593    CFC12_ppt_omp = zzz
594    RCFC12_omp = CFC12_ppt_omp * 1.0E-12 * 120.9140/28.97
595    ! RCFC12 = 2.020102726958923E-09
596    !OK call getin('RCFC12', RCFC12)
597
598    !ajout CFMIP begin
599    !
600    !Config Key  = co2_ppm_per
601    !Config Desc = concentration du co2_ppm_per
602    !Config Def  = 348.
603    !Config Help =
604    !               
605    co2_ppm_per_omp = co2_ppm_omp
606    call getin('co2_ppm_per', co2_ppm_per_omp)
607    !
608    !Config Key  = RCO2_per
609    !Config Desc = Concentration du CO2_per
610    !Config Def  = co2_ppm_per * 1.0e-06  * 44.011/28.97
611    !Config Def  = 348. * 1.0e-06  * 44.011/28.97
612    !Config Help =
613    !               
614    RCO2_per_omp = co2_ppm_per_omp * 1.0e-06  * 44.011/28.97
615
616    !Config Key  = ok_4xCO2atm
617    !Config Desc = Calcul ou non effet radiatif 4xco2
618    !Config Def  = .false.
619    !Config Help =
620
621    ok_4xCO2atm_omp = .false.
622    call getin('ok_4xCO2atm',ok_4xCO2atm_omp)
623
624    !Config Key  = RCH4_per
625    !Config Desc = Concentration du CH4_per
626    !Config Def  = 1.65E-06* 16.043/28.97
627    !Config Help =
628    !               
629    zzz = CH4_ppb_omp
630    call getin('CH4_ppb_per', zzz)
631    CH4_ppb_per_omp = zzz
632    RCH4_per_omp = CH4_ppb_per_omp * 1.0E-09 * 16.043/28.97
633    !
634    !Config Key  = RN2O_per
635    !Config Desc = Concentration du N2O_per
636    !Config Def  = 306.E-09* 44.013/28.97
637    !Config Help =
638    !               
639    zzz = N2O_ppb_omp
640    call getin('N2O_ppb_per', zzz)
641    N2O_ppb_per_omp = zzz
642    RN2O_per_omp = N2O_ppb_per_omp * 1.0E-09 * 44.013/28.97
643    !
644    !Config Key  = RCFC11_per
645    !Config Desc = Concentration du CFC11_per
646    !Config Def  = 280.E-12* 137.3686/28.97
647    !Config Help =
648    !               
649    zzz = CFC11_ppt_omp
650    call getin('CFC11_ppt_per',zzz)
651    CFC11_ppt_per_omp = zzz
652    RCFC11_per_omp=CFC11_ppt_per_omp* 1.0E-12 * 137.3686/28.97
653    !
654    !Config Key  = RCFC12_per
655    !Config Desc = Concentration du CFC12_per
656    !Config Def  = 484.E-12* 120.9140/28.97
657    !Config Help =
658    !               
659    zzz = CFC12_ppt_omp
660    call getin('CFC12_ppt_per',zzz)
661    CFC12_ppt_per_omp = zzz
662    RCFC12_per_omp = CFC12_ppt_per_omp * 1.0E-12 * 120.9140/28.97
663    !ajout CFMIP end
664
665    !
666    ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique
667    ! Constantes precedemment dans dyn3d/conf_gcm
668
669    !Config  Key  = cycle_diurne
670    !Config  Desc = Cycle ddiurne
671    !Config  Def  = y
672    !Config  Help = Cette option permet d'eteidre le cycle diurne.
673    !Config         Peut etre util pour accelerer le code !
674    cycle_diurne_omp = .TRUE.
675    CALL getin('cycle_diurne',cycle_diurne_omp)
676
677    !Config  Key  = soil_model
678    !Config  Desc = Modele de sol
679    !Config  Def  = y
680    !Config  Help = Choix du modele de sol (Thermique ?)
681    !Config         Option qui pourait un string afin de pouvoir
682    !Config         plus de choix ! Ou meme une liste d'options !
683    soil_model_omp = .TRUE.
684    CALL getin('soil_model',soil_model_omp)
685
686    !Config  Key  = new_oliq
687    !Config  Desc = Nouvelle eau liquide
688    !Config  Def  = y
689    !Config  Help = Permet de mettre en route la
690    !Config         nouvelle parametrisation de l'eau liquide !
691    new_oliq_omp = .TRUE.
692    CALL getin('new_oliq',new_oliq_omp)
693
694    !Config  Key  = ok_orodr
695    !Config  Desc = Orodr ???
696    !Config  Def  = y
697    !Config  Help = Y en a pas comprendre !
698    !Config         
699    ok_orodr_omp = .TRUE.
700    CALL getin('ok_orodr',ok_orodr_omp)
701
702    !Config  Key  =  ok_orolf
703    !Config  Desc = Orolf ??
704    !Config  Def  = y
705    !Config  Help = Connais pas !
706    ok_orolf_omp = .TRUE.
707    CALL getin('ok_orolf', ok_orolf_omp)
708
709    !Config  Key  = ok_limitvrai
710    !Config  Desc = Force la lecture de la bonne annee
711    !Config  Def  = n
712    !Config  Help = On peut forcer le modele a lire le
713    !Config         fichier SST de la bonne annee. C'est une tres bonne
714    !Config         idee, pourquoi ne pas mettre toujours a y ???
715    ok_limitvrai_omp = .FALSE.
716    CALL getin('ok_limitvrai',ok_limitvrai_omp)
717
718    !Config  Key  = nbapp_rad
719    !Config  Desc = Frequence d'appel au rayonnement
720    !Config  Def  = 12
721    !Config  Help = Nombre  d'appels des routines de rayonnements
722    !Config         par jour.
723    nbapp_rad_omp = 12
724    CALL getin('nbapp_rad',nbapp_rad_omp)
725
726    !Config  Key  = iflag_con
727    !Config  Desc = Flag de convection
728    !Config  Def  = 2
729    !Config  Help = Flag  pour la convection les options suivantes existent :
730    !Config         1 pour LMD,
731    !Config         2 pour Tiedtke,
732    !Config         3 pour CCM(NCAR) 
733    iflag_con_omp = 2
734    CALL getin('iflag_con',iflag_con_omp)
735
736    !Config  Key  = iflag_ener_conserv
737    !Config  Desc = Flag de convection
738    !Config  Def  = 1
739    !Config  Help = Flag  pour la convection les options suivantes existent :
740    !Config         -1 pour Kinetic energy correction
741    !Config         1  conservation kinetic and enthalpy
742    iflag_ener_conserv_omp = -1
743    CALL getin('iflag_ener_conserv',iflag_ener_conserv_omp)
744
745    !Config  Key  = ok_conserv_q
746    !Config  Desc = Switch des corrections de conservation de l'eau
747    !Config  Def  = y
748    !Config  Help = Switch des corrections de conservation de l'eau
749    !Config         y -> corrections activees
750    !Config         n -> conformite avec versions anterieures au 1/4/2014
751    ok_conserv_q_omp = .FALSE.
752    CALL getin('ok_conserv_q',ok_conserv_q_omp)
753
754    !Config  Key  = iflag_fisrtilp_qsat
755    !Config  Desc = Flag de convection
756    !Config  Def  = 1
757    !Config  Help = Flag  pour la convection les options suivantes existent :
758    !Config         -1 pour Kinetic energy correction
759    !Config         1  conservation kinetic and enthalpy
760    iflag_fisrtilp_qsat_omp = 0
761    CALL getin('iflag_fisrtilp_qsat',iflag_fisrtilp_qsat_omp)
762
763    !
764    !
765    !
766    ! Constante solaire & Parametres orbitaux & taux gaz effet de serre END
767    !
768    ! KE
769    !
770
771    !Config key  = cvl_comp_threshold
772    !Config Desc = maximum fraction of convective points enabling compression
773    !Config Def  = 1.00
774    !Config Help = fields are compressed when less than a fraction cvl_comp_threshold
775    !Config Help = of the points is convective.
776    cvl_comp_threshold_omp = 1.00
777    CALL getin('cvl_comp_threshold', cvl_comp_threshold_omp)
778
779    !Config key  = cvl_sig2feed
780    !Config Desc = sigma coordinate at top of feeding layer
781    !Config Def  = 0.97
782    !Config Help = deep convection is fed by the layer extending from the surface (pressure ps)
783    !Config Help = and cvl_sig2feed*ps.
784    cvl_sig2feed_omp = 0.97
785    CALL getin('cvl_sig2feed', cvl_sig2feed_omp)
786
787    !Config key  = cvl_corr
788    !Config Desc = Facteur multiplication des precip convectives dans KE
789    !Config Def  = 1.00
790    !Config Help = 1.02 pour un moderne ou un pre-ind. A ajuster pour un glaciaire
791    cvl_corr_omp = 1.00
792    CALL getin('cvl_corr', cvl_corr_omp)
793
794
795    !Config Key  = epmax
796    !Config Desc = Efficacite precip
797    !Config Def  = 0.993
798    !Config Help =
799    !
800    epmax_omp = .993
801    call getin('epmax', epmax_omp)
802    !
803    !Config Key  = ok_adj_ema
804    !Config Desc = 
805    !Config Def  = false
806    !Config Help =
807    !
808    ok_adj_ema_omp = .false.
809    call getin('ok_adj_ema',ok_adj_ema_omp)
810    !
811    !Config Key  = iflag_clw
812    !Config Desc = 
813    !Config Def  = 0
814    !Config Help =
815    !
816    iflag_clw_omp = 0
817    call getin('iflag_clw',iflag_clw_omp)
818    !
819    !Config Key  = cld_lc_lsc
820    !Config Desc = 
821    !Config Def  = 2.6e-4
822    !Config Help =
823    !
824    cld_lc_lsc_omp = 2.6e-4
825    call getin('cld_lc_lsc',cld_lc_lsc_omp)
826    !
827    !Config Key  = cld_lc_con
828    !Config Desc = 
829    !Config Def  = 2.6e-4
830    !Config Help =
831    !
832    cld_lc_con_omp = 2.6e-4
833    call getin('cld_lc_con',cld_lc_con_omp)
834    !
835    !Config Key  = cld_tau_lsc
836    !Config Desc = 
837    !Config Def  = 3600.
838    !Config Help =
839    !
840    cld_tau_lsc_omp = 3600.
841    call getin('cld_tau_lsc',cld_tau_lsc_omp)
842    !
843    !Config Key  = cld_tau_con
844    !Config Desc = 
845    !Config Def  = 3600.
846    !Config Help =
847    !
848    cld_tau_con_omp = 3600.
849    call getin('cld_tau_con',cld_tau_con_omp)
850    !
851    !Config Key  = ffallv_lsc
852    !Config Desc = 
853    !Config Def  = 1.
854    !Config Help =
855    !
856    ffallv_lsc_omp = 1.
857    call getin('ffallv_lsc',ffallv_lsc_omp)
858    !
859    !Config Key  = ffallv_con
860    !Config Desc = 
861    !Config Def  = 1.
862    !Config Help =
863    !
864    ffallv_con_omp = 1.
865    call getin('ffallv_con',ffallv_con_omp)
866    !
867    !Config Key  = coef_eva
868    !Config Desc = 
869    !Config Def  = 2.e-5
870    !Config Help =
871    !
872    coef_eva_omp = 2.e-5
873    call getin('coef_eva',coef_eva_omp)
874    !
875    !Config Key  = reevap_ice
876    !Config Desc = 
877    !Config Def  = .false.
878    !Config Help =
879    !
880    reevap_ice_omp = .false.
881    call getin('reevap_ice',reevap_ice_omp)
882
883    !Config Key  = iflag_ratqs
884    !Config Desc =
885    !Config Def  = 1
886    !Config Help =
887    !
888    iflag_ratqs_omp = 1
889    call getin('iflag_ratqs',iflag_ratqs_omp)
890
891    !
892    !Config Key  = iflag_radia
893    !Config Desc = 
894    !Config Def  = 1
895    !Config Help =
896    !
897    iflag_radia_omp = 1
898    call getin('iflag_radia',iflag_radia_omp)
899
900    !
901    !Config Key  = iflag_rrtm
902    !Config Desc = 
903    !Config Def  = 0
904    !Config Help =
905    !
906    iflag_rrtm_omp = 0
907    call getin('iflag_rrtm',iflag_rrtm_omp)
908
909    !
910    !Config Key  = NSW
911    !Config Desc = 
912    !Config Def  = 0
913    !Config Help =
914    !
915    NSW_omp = 6
916    call getin('NSW',NSW_omp)
917!albedo SB >>>
918    iflag_albedo_omp = 0
919    call getin('iflag_albedo',iflag_albedo_omp)
920
921    ok_chlorophyll_omp=.false.
922    call getin('ok_chlorophyll',ok_chlorophyll_omp)
923!albedo SB <<<
924
925    !
926    !Config Key  = iflag_cld_th
927    !Config Desc = 
928    !Config Def  = 1
929    !Config Help =
930    !
931    iflag_cld_th_omp = 1
932! On lit deux fois avec l'ancien et le nouveau nom
933! pour assurer une retrocompatiblite.
934! A abandonner un jour
935    call getin('iflag_cldcon',iflag_cld_th_omp)
936    call getin('iflag_cld_th',iflag_cld_th_omp)
937    iflag_cld_cv_omp = 0
938    call getin('iflag_cld_cv',iflag_cld_cv_omp)
939
940    !
941    !Config Key  = tau_cld_cv
942    !Config Desc =
943    !Config Def  = 10.
944    !Config Help =
945    !
946    tau_cld_cv_omp = 10.
947    call getin('tau_cld_cv',tau_cld_cv_omp)
948
949    !
950    !Config Key  = coefw_cld_cv
951    !Config Desc =
952    !Config Def  = 0.1
953    !Config Help =
954    !
955    coefw_cld_cv_omp = 0.1
956    call getin('coefw_cld_cv',coefw_cld_cv_omp)
957
958
959
960
961    !
962    !Config Key  = iflag_pdf
963    !Config Desc = 
964    !Config Def  = 0
965    !Config Help =
966    !
967    iflag_pdf_omp = 0
968    call getin('iflag_pdf',iflag_pdf_omp)
969    !
970    !Config Key  = fact_cldcon
971    !Config Desc = 
972    !Config Def  = 0.375
973    !Config Help =
974    !
975    fact_cldcon_omp = 0.375
976    call getin('fact_cldcon',fact_cldcon_omp)
977
978    !
979    !Config Key  = facttemps
980    !Config Desc = 
981    !Config Def  = 1.e-4
982    !Config Help =
983    !
984    facttemps_omp = 1.e-4
985    call getin('facttemps',facttemps_omp)
986
987    !
988    !Config Key  = ok_newmicro
989    !Config Desc = 
990    !Config Def  = .true.
991    !Config Help =
992    !
993    ok_newmicro_omp = .true.
994    call getin('ok_newmicro',ok_newmicro_omp)
995    !
996    !Config Key  = ratqsbas
997    !Config Desc = 
998    !Config Def  = 0.01
999    !Config Help =
1000    !
1001    ratqsbas_omp = 0.01
1002    call getin('ratqsbas',ratqsbas_omp)
1003    !
1004    !Config Key  = ratqshaut
1005    !Config Desc = 
1006    !Config Def  = 0.3
1007    !Config Help =
1008    !
1009    ratqshaut_omp = 0.3
1010    call getin('ratqshaut',ratqshaut_omp)
1011
1012    !Config Key  = tau_ratqs
1013    !Config Desc = 
1014    !Config Def  = 1800.
1015    !Config Help =
1016    !
1017    tau_ratqs_omp = 1800.
1018    call getin('tau_ratqs',tau_ratqs_omp)
1019
1020    !
1021    !-----------------------------------------------------------------------
1022    ! Longitude solaire pour le calcul de l'ensoleillement en degre
1023    ! si on veut imposer la saison. Sinon, solarlong0=-999.999
1024    !Config Key  = solarlong0
1025    !Config Desc = 
1026    !Config Def  = -999.999
1027    !Config Help =
1028    !
1029    solarlong0_omp = -999.999
1030    call getin('solarlong0',solarlong0_omp)
1031    !
1032    !-----------------------------------------------------------------------
1033    !  Valeur imposee pour configuration idealisees
1034    !Config Key  = qsol0 pour le bucket, evap0 pour aquaplanetes, albsno0
1035    ! Default value -1 to activate the full computation
1036    qsol0_omp = -1.
1037    call getin('qsol0',qsol0_omp)
1038    evap0_omp = -1.
1039    call getin('evap0',evap0_omp)
1040    albsno0_omp = -1.
1041    call getin('albsno0',albsno0_omp)
1042    !
1043    !-----------------------------------------------------------------------
1044    !
1045    !Config Key  = inertie_ice
1046    !Config Desc = 
1047    !Config Def  = 2000.
1048    !Config Help =
1049    !
1050    inertie_ice_omp = 2000.
1051    call getin('inertie_ice',inertie_ice_omp)
1052    !
1053    !Config Key  = inertie_sno
1054    !Config Desc = 
1055    !Config Def  = 2000.
1056    !Config Help =
1057    !
1058    inertie_sno_omp = 2000.
1059    call getin('inertie_sno',inertie_sno_omp)
1060    !
1061    !Config Key  = inertie_sol
1062    !Config Desc = 
1063    !Config Def  = 2000.
1064    !Config Help =
1065    !
1066    inertie_sol_omp = 2000.
1067    call getin('inertie_sol',inertie_sol_omp)
1068
1069    !
1070    !Config Key  = rad_froid
1071    !Config Desc = 
1072    !Config Def  = 35.0
1073    !Config Help =
1074    !
1075    rad_froid_omp = 35.0
1076    call getin('rad_froid',rad_froid_omp)
1077
1078    !
1079    !Config Key  = rad_chau1
1080    !Config Desc = 
1081    !Config Def  = 13.0
1082    !Config Help =
1083    !
1084    rad_chau1_omp = 13.0
1085    call getin('rad_chau1',rad_chau1_omp)
1086
1087    !
1088    !Config Key  = rad_chau2
1089    !Config Desc = 
1090    !Config Def  = 9.0
1091    !Config Help =
1092    !
1093    rad_chau2_omp = 9.0
1094    call getin('rad_chau2',rad_chau2_omp)
1095
1096    !
1097    !Config Key  = t_glace_min
1098    !Config Desc = 
1099    !Config Def  = 258.
1100    !Config Help =
1101    !
1102    t_glace_min_omp = 258.
1103    call getin('t_glace_min',t_glace_min_omp)
1104
1105    !
1106    !Config Key  = t_glace_max
1107    !Config Desc = 
1108    !Config Def  = 273.13
1109    !Config Help =
1110    !
1111    t_glace_max_omp = 273.13
1112    call getin('t_glace_max',t_glace_max_omp)
1113
1114    !
1115    !Config Key  = exposant_glace
1116    !Config Desc = 
1117    !Config Def  = 2.
1118    !Config Help =
1119    !
1120    exposant_glace_omp = 1.
1121    call getin('exposant_glace',exposant_glace_omp)
1122
1123    !
1124    !Config Key  = iflag_t_glace
1125    !Config Desc = 
1126    !Config Def  = 0
1127    !Config Help =
1128    !
1129    iflag_t_glace_omp = 0
1130    call getin('iflag_t_glace',iflag_t_glace_omp)
1131
1132    !
1133    !Config Key  = iflag_ice_thermo
1134    !Config Desc = 
1135    !Config Def  = 0
1136    !Config Help =
1137    !
1138    iflag_ice_thermo_omp = 0
1139    call getin('iflag_ice_thermo',iflag_ice_thermo_omp)
1140
1141    !Config Key  = rei_min
1142    !Config Desc = 
1143    !Config Def  = 3.5
1144    !Config Help =
1145    !
1146    rei_min_omp = 3.5
1147    call getin('rei_min',rei_min_omp)
1148
1149    !
1150    !Config Key  = rei_max
1151    !Config Desc = 
1152    !Config Def  = 61.29
1153    !Config Help =
1154    !
1155    rei_max_omp = 61.29
1156    call getin('rei_max',rei_max_omp)
1157
1158    !
1159    !Config Key  = top_height
1160    !Config Desc =
1161    !Config Def  = 3
1162    !Config Help =
1163    !
1164    top_height_omp = 3
1165    call getin('top_height',top_height_omp)
1166
1167    !
1168    !Config Key  = overlap
1169    !Config Desc =
1170    !Config Def  = 3
1171    !Config Help =
1172    !
1173    overlap_omp = 3
1174    call getin('overlap',overlap_omp)
1175
1176
1177    !
1178    !
1179    !Config Key  = cdmmax
1180    !Config Desc =
1181    !Config Def  = 1.3E-3
1182    !Config Help =
1183    !
1184    cdmmax_omp = 1.3E-3
1185    call getin('cdmmax',cdmmax_omp)
1186
1187    !
1188    !Config Key  = cdhmax
1189    !Config Desc =
1190    !Config Def  = 1.1E-3
1191    !Config Help =
1192    !
1193    cdhmax_omp = 1.1E-3
1194    call getin('cdhmax',cdhmax_omp)
1195
1196    !261103
1197    !
1198    !Config Key  = ksta
1199    !Config Desc =
1200    !Config Def  = 1.0e-10
1201    !Config Help =
1202    !
1203    ksta_omp = 1.0e-10
1204    call getin('ksta',ksta_omp)
1205
1206    !
1207    !Config Key  = ksta_ter
1208    !Config Desc =
1209    !Config Def  = 1.0e-10
1210    !Config Help =
1211    !
1212    ksta_ter_omp = 1.0e-10
1213    call getin('ksta_ter',ksta_ter_omp)
1214
1215    !Config Key  = f_ri_cd_min
1216    !Config Desc =
1217    !Config Def  = 0.1
1218    !Config Help =
1219    !
1220    f_ri_cd_min_omp = 0.1
1221    call getin('f_ri_cd_min',f_ri_cd_min_omp)
1222
1223    !
1224    !Config Key  = ok_kzmin
1225    !Config Desc =
1226    !Config Def  = .true.
1227    !Config Help =
1228    !
1229    ok_kzmin_omp = .true.
1230    call getin('ok_kzmin',ok_kzmin_omp)
1231
1232    !
1233    !Config Key  = fmagic
1234    !Config Desc = additionnal multiplicator factor used for albedo
1235    !Config Def  = 1.
1236    !Config Help = additionnal multiplicator factor used in albedo.F
1237    !
1238    fmagic_omp = 1.
1239    call getin('fmagic',fmagic_omp)
1240
1241    !
1242    !Config Key  = pmagic
1243    !Config Desc = additional factor used for albedo
1244    !Config Def  = 0.
1245    !Config Help = additional factor used in albedo.F
1246    !
1247    pmagic_omp = 0.
1248    call getin('pmagic',pmagic_omp)
1249
1250
1251    !Config Key = ok_lic_melt
1252    !Config Desc = Prise en compte de la fonte de la calotte dans le bilan d'eau
1253    !Config Def  = .false.
1254    !Config Help = mettre a .false. pour assurer la conservation en eau
1255    ok_lic_melt_omp = .false.
1256    call getin('ok_lic_melt', ok_lic_melt_omp)
1257
1258    !
1259    ! PARAMETER FOR THE PLANETARY BOUNDARY LAYER
1260    !
1261
1262    !Config Key  = iflag_pbl
1263    !Config Desc =
1264    !Config Def  = 1
1265    !Config Help =
1266    !
1267    iflag_pbl_omp = 1
1268    call getin('iflag_pbl',iflag_pbl_omp)
1269    !
1270    !Config Key  = iflag_pbl_split
1271    !Config Desc = binary flag: least signif bit = split vdf; next bit = split thermals
1272    !Config Def  = 0
1273    !Config Help = 0-> no splitting; 1-> vdf splitting; 2-> thermals splitting; 3-> full splitting
1274    !
1275    iflag_pbl_split_omp = 0
1276    call getin('iflag_pbl_split',iflag_pbl_split_omp)
1277    !
1278    !Config Key  = iflag_thermals
1279    !Config Desc =
1280    !Config Def  = 0
1281    !Config Help =
1282    !
1283    iflag_thermals_omp = 0
1284    call getin('iflag_thermals',iflag_thermals_omp)
1285    !
1286    !Config Key  = iflag_thermals_ed
1287    !Config Desc =
1288    !Config Def  = 0
1289    !Config Help =
1290    !
1291    fact_thermals_ed_dz_omp = 0.1
1292
1293    call getin('fact_thermals_ed_dz',fact_thermals_ed_dz_omp)
1294    !
1295    !
1296    !Config Key  = iflag_thermals_ed
1297    !Config Desc =
1298    !Config Def  = 0
1299    !Config Help =
1300    !
1301    iflag_thermals_ed_omp = 0
1302    call getin('iflag_thermals_ed',iflag_thermals_ed_omp)
1303    !
1304    !
1305    !Config Key  = iflag_thermals_optflux
1306    !Config Desc =
1307    !Config Def  = 0
1308    !Config Help =
1309    !
1310    iflag_thermals_optflux_omp = 0
1311    call getin('iflag_thermals_optflux',iflag_thermals_optflux_omp)
1312    !
1313    !Config Key  = iflag_thermals_closure
1314    !Config Desc =
1315    !Config Def  = 0
1316    !Config Help =
1317    !
1318    iflag_thermals_closure_omp = 1
1319    call getin('iflag_thermals_closure',iflag_thermals_closure_omp)
1320    !
1321    !
1322    !
1323    !
1324    !Config Key  = nsplit_thermals
1325    !Config Desc =
1326    !Config Def  = 1
1327    !Config Help =
1328    !
1329    nsplit_thermals_omp = 1
1330    call getin('nsplit_thermals',nsplit_thermals_omp)
1331
1332    !Config Key  = alp_bl_k
1333    !Config Desc =
1334    !Config Def  = 0.
1335    !Config Help =
1336    !
1337    alp_bl_k_omp = 1.
1338    call getin('alp_bl_k',alp_bl_k_omp)
1339
1340    ! nrlmd le 10/04/2012
1341
1342    !Config Key  = iflag_trig_bl
1343    !Config Desc = 
1344    !Config Def  = 0
1345    !Config Help =
1346    !
1347    iflag_trig_bl_omp = 0
1348    call getin('iflag_trig_bl',iflag_trig_bl_omp)
1349
1350    !Config Key  = s_trig_bl
1351    !Config Desc = 
1352    !Config Def  = 0
1353    !Config Help =
1354    !
1355    s_trig_omp = 2e7
1356    call getin('s_trig',s_trig_omp)
1357
1358    !Config Key  = tau_trig_shallow
1359    !Config Desc = 
1360    !Config Def  = 0
1361    !Config Help =
1362    !
1363    tau_trig_shallow_omp = 600
1364    call getin('tau_trig_shallow',tau_trig_shallow_omp)
1365
1366    !Config Key  = tau_trig_deep
1367    !Config Desc = 
1368    !Config Def  = 0
1369    !Config Help =
1370    !
1371    tau_trig_deep_omp = 1800
1372    call getin('tau_trig_deep',tau_trig_deep_omp)
1373
1374    !Config Key  = iflag_clos_bl
1375    !Config Desc = 
1376    !Config Def  = 0
1377    !Config Help =
1378    !
1379    iflag_clos_bl_omp = 0
1380    call getin('iflag_clos_bl',iflag_clos_bl_omp)
1381
1382    ! fin nrlmd le 10/04/2012
1383
1384    !
1385    !Config Key  = tau_thermals
1386    !Config Desc =
1387    !Config Def  = 0.
1388    !Config Help =
1389    !
1390    tau_thermals_omp = 0.
1391    call getin('tau_thermals',tau_thermals_omp)
1392
1393    !
1394    !Config Key  = iflag_coupl
1395    !Config Desc =
1396    !Config Def  = 0
1397    !Config Help =
1398    !
1399    iflag_coupl_omp = 0
1400    call getin('iflag_coupl',iflag_coupl_omp)
1401
1402    !
1403    !Config Key  = iflag_clos
1404    !Config Desc = 
1405    !Config Def  = 0
1406    !Config Help =
1407    !
1408    iflag_clos_omp = 1
1409    call getin('iflag_clos',iflag_clos_omp)
1410    !
1411    !Config Key  = coef_clos_ls
1412    !Config Desc = 
1413    !Config Def  = 0
1414    !Config Help =
1415    !
1416    coef_clos_ls_omp = 0.
1417    call getin('coef_clos_ls',coef_clos_ls_omp)
1418
1419    !
1420    !Config Key  = iflag_cvl_sigd
1421    !Config Desc = 
1422    !Config Def  = 0
1423    !Config Help =
1424    !
1425    iflag_cvl_sigd_omp = 0
1426    call getin('iflag_cvl_sigd',iflag_cvl_sigd_omp)
1427
1428    !Config Key  = iflag_wake
1429    !Config Desc = 
1430    !Config Def  = 0
1431    !Config Help =
1432    !
1433    iflag_wake_omp = 0
1434    call getin('iflag_wake',iflag_wake_omp)
1435
1436    !Config Key  = alp_offset
1437    !Config Desc = 
1438    !Config Def  = 0
1439    !Config Help =
1440    !
1441    alp_offset_omp = 0.
1442    call getin('alp_offset',alp_offset_omp)
1443
1444    !
1445    !Config Key  = lev_histhf
1446    !Config Desc =
1447    !Config Def  = 1
1448    !Config Help =
1449    !
1450    lev_histhf_omp = 1
1451    call getin('lev_histhf',lev_histhf_omp)
1452
1453    !
1454    !Config Key  = lev_histday
1455    !Config Desc =
1456    !Config Def  = 1
1457    !Config Help =
1458    !
1459    lev_histday_omp = 1
1460    call getin('lev_histday',lev_histday_omp)
1461
1462    !
1463    !Config Key  = lev_histmth
1464    !Config Desc =
1465    !Config Def  = 2
1466    !Config Help =
1467    !
1468    lev_histmth_omp = 2
1469    call getin('lev_histmth',lev_histmth_omp)
1470    !
1471    !Config Key  = lev_histins
1472    !Config Desc =
1473    !Config Def  = 1
1474    !Config Help =
1475    !
1476    lev_histins_omp = 1
1477    call getin('lev_histins',lev_histins_omp)
1478    !
1479    !Config Key  = lev_histLES
1480    !Config Desc =
1481    !Config Def  = 1
1482    !Config Help =
1483    !
1484    lev_histLES_omp = 1
1485    call getin('lev_histLES',lev_histLES_omp)
1486    !
1487    !Config Key  = lev_histdayNMC
1488    !Config Desc =
1489    !Config Def  = 8
1490    !Config Help =
1491    !
1492    lev_histdayNMC_omp = 8
1493    call getin('lev_histdayNMC',lev_histdayNMC_omp)
1494    !
1495    !Config Key  = levout_histNMC
1496    !Config Desc =
1497    !Config Def  = 5
1498    !Config Help =
1499    !
1500    levout_histNMC_omp(1) = 5
1501    levout_histNMC_omp(2) = 5
1502    levout_histNMC_omp(3) = 5
1503    call getin('levout_histNMC',levout_histNMC_omp)
1504    !
1505    !histNMC BEG
1506    !Config Key  = ok_histNMC
1507    !Config Desc = ok_histNMC(1) = frequence de sortie fichiers histmthNMC
1508    !Config Desc = ok_histNMC(2) = frequence de sortie fichiers histdayNMC
1509    !Config Desc = ok_histNMC(3) = frequence de sortie fichiers histhfNMC
1510    !Config Def  = n, n, n
1511    !Config Help =
1512    !
1513    ok_histNMC_omp(1) = .false.
1514    ok_histNMC_omp(2) = .false.
1515    ok_histNMC_omp(3) = .false.
1516    call getin('ok_histNMC',ok_histNMC_omp)
1517    !
1518    !Config Key  = freq_outNMC
1519    !Config Desc = freq_outNMC(1) = frequence de sortie fichiers histmthNMC
1520    !Config Desc = freq_outNMC(2) = frequence de sortie fichiers histdayNMC
1521    !Config Desc = freq_outNMC(3) = frequence de sortie fichiers histhfNMC
1522    !Config Def  = 2592000., 86400., 21600. (1mois, 1jour, 6h)
1523    !Config Help =
1524    !
1525    freq_outNMC_omp(1) = mth_len
1526    freq_outNMC_omp(2) = 1.
1527    freq_outNMC_omp(3) = 1./4.
1528    call getin('freq_outNMC',freq_outNMC_omp)
1529    !
1530    !Config Key  = freq_calNMC
1531    !Config Desc = freq_calNMC(1) = frequence de calcul fichiers histmthNMC
1532    !Config Desc = freq_calNMC(2) = frequence de calcul fichiers histdayNMC
1533    !Config Desc = freq_calNMC(3) = frequence de calcul fichiers histhfNMC
1534    !Config Def  = pasphys
1535    !Config Help =
1536    !
1537    freq_calNMC_omp(1) = pasphys
1538    freq_calNMC_omp(2) = pasphys
1539    freq_calNMC_omp(3) = pasphys
1540    call getin('freq_calNMC',freq_calNMC_omp)
1541    !
1542    !Config Key  = type_run
1543    !Config Desc =
1544    !Config Def  = 'AMIP'/'CFMIP'  ou 'CLIM'/'ENSP'
1545    !Config Help =
1546    !
1547    type_run_omp = 'AMIP'
1548    call getin('type_run',type_run_omp)
1549
1550    !
1551    !Config Key  = ok_cosp
1552    !Config Desc =
1553    !Config Def  = .false.
1554    !Config Help =
1555    !
1556    ok_cosp_omp = .false.
1557    call getin('ok_cosp',ok_cosp_omp)
1558
1559    !
1560    !Config Key  = ok_mensuelCOSP
1561    !Config Desc =
1562    !Config Def  = .true.
1563    !Config Help =
1564    !
1565    ok_mensuelCOSP_omp = .true.
1566    call getin('ok_mensuelCOSP',ok_mensuelCOSP_omp)
1567
1568    !
1569    !Config Key  = ok_journeCOSP
1570    !Config Desc =
1571    !Config Def  = .true.
1572    !Config Help =
1573    !
1574    ok_journeCOSP_omp = .true.
1575    call getin('ok_journeCOSP',ok_journeCOSP_omp)
1576
1577    !
1578    !Config Key  = ok_hfCOSP
1579    !Config Desc =
1580    !Config Def  = .false.
1581    !Config Help =
1582    !
1583    ok_hfCOSP_omp = .false.
1584    call getin('ok_hfCOSP',ok_hfCOSP_omp)
1585
1586    !
1587    ! coordonnees (lonmin_ins, lonmax_ins, latmin_ins, latmax_ins) pour la zone
1588    ! avec sorties instantannees tous les pas de temps de la physique => "histbilKP_ins.nc"
1589    !
1590    !Config Key  = lonmin_ins
1591    !Config Desc = 100. 
1592    !Config Def  = longitude minimale sorties "bilKP_ins"
1593    !Config Help =
1594    !
1595    lonmin_ins_omp = 100.
1596    call getin('lonmin_ins',lonmin_ins_omp)
1597    !
1598    !Config Key  = lonmax_ins
1599    !Config Desc = 130.
1600    !Config Def  = longitude maximale sorties "bilKP_ins"
1601    !Config Help =
1602    !
1603    lonmax_ins_omp = 130.
1604    call getin('lonmax_ins',lonmax_ins_omp)
1605    !
1606    !Config Key  = latmin_ins
1607    !Config Desc = -20. 
1608    !Config Def  = latitude minimale sorties "bilKP_ins"
1609    !Config Help =
1610    !
1611    latmin_ins_omp = -20.
1612    call getin('latmin_ins',latmin_ins_omp)
1613    !
1614    !Config Key  = latmax_ins
1615    !Config Desc = 20.
1616    !Config Def  = latitude maximale sorties "bilKP_ins"
1617    !Config Help =
1618    !
1619    latmax_ins_omp = 20.
1620    call getin('latmax_ins',latmax_ins_omp)
1621    !
1622    !Config Key  = ecrit_hf
1623    !Config Desc =
1624    !Config Def  = 1./8. !toutes les 3h
1625    !Config Help =
1626    !
1627    ecrit_hf_omp = 1./8.
1628    call getin('ecrit_hf',ecrit_hf_omp)
1629    !
1630    !Config Key  = ecrit_ins
1631    !Config Desc =
1632    !Config Def  = 1./48. ! toutes les 1/2 h
1633    !Config Help =
1634    !
1635    ecrit_ins_omp = 1./48.
1636    call getin('ecrit_ins',ecrit_ins_omp)
1637    !
1638    !Config Key  = ecrit_day
1639    !Config Desc =
1640    !Config Def  = 1.0 !tous les jours
1641    !Config Help = nombre de jours pour ecriture fichier histday.nc
1642    !
1643    ecrit_day_omp = 1.0
1644    call getin('ecrit_day',ecrit_day_omp)
1645    !
1646    !Config Key  = ecrit_mth
1647    !Config Desc =
1648    !Config Def  = 30. !tous les 30jours (1 fois par mois)
1649    !Config Help =
1650    !
1651    ecrit_mth_omp = 30.
1652    call getin('ecrit_mth',ecrit_mth_omp)
1653    !
1654    !Config Key  = ecrit_tra
1655    !Config Desc =
1656    !Config Def  = 30. !tous les 30jours (1 fois par mois)
1657    !Config Help =
1658    !
1659    ecrit_tra_omp = 0.
1660    call getin('ecrit_tra',ecrit_tra_omp)
1661    !
1662    !Config Key  = ecrit_reg
1663    !Config Desc =
1664    !Config Def  = 0.25  !4 fois par jour
1665    !Config Help =
1666    !
1667    ecrit_reg_omp = 0.25   !4 fois par jour
1668    call getin('ecrit_reg',ecrit_reg_omp)
1669    !
1670    !
1671    print*,'CONFPHYS OOK avant drag_ter'
1672    !
1673    ! PARAMETRES CDRAG
1674    !
1675    f_cdrag_ter_omp = 0.8
1676    call getin('f_cdrag_ter',f_cdrag_ter_omp)
1677    !
1678    f_cdrag_oce_omp = 0.8
1679    call getin('f_cdrag_oce',f_cdrag_oce_omp)
1680    !
1681
1682! Gustiness flags
1683    f_z0qh_oce_omp = 1.
1684    call getin('f_z0qh_oce',f_z0qh_oce_omp)
1685    !
1686    f_qsat_oce_omp = 1.
1687    call getin('f_qsat_oce',f_qsat_oce_omp)
1688    !
1689    f_gust_bl_omp = 0.
1690    call getin('f_gust_bl',f_gust_bl_omp)
1691    !
1692    f_gust_wk_omp = 0.
1693    call getin('f_gust_wk',f_gust_wk_omp)
1694    !
1695    iflag_z0_oce_omp=0
1696    call getin('iflag_z0_oce',iflag_z0_oce_omp)
1697    !
1698    iflag_gusts_omp=0
1699    call getin('iflag_gusts',iflag_gusts_omp)
1700    !
1701    min_wind_speed_omp = 1.
1702    call getin('min_wind_speed',min_wind_speed_omp)
1703
1704    z0m_seaice_omp = 0.002 ; call getin('z0m_seaice',z0m_seaice_omp)
1705    z0h_seaice_omp = 0.002 ; call getin('z0h_seaice',z0h_seaice_omp)
1706
1707    f_rugoro_omp = 0.
1708    call getin('f_rugoro',f_rugoro_omp)
1709
1710    z0min_omp = 0.000015
1711    call getin('z0min',z0min_omp)
1712
1713
1714    ! PARAMETERS FOR CONVECTIVE INHIBITION BY TROPOS. DRYNESS
1715    !
1716    !Config Key  = supcrit1
1717    !Config Desc =
1718    !Config Def  = .540
1719    !Config Help =
1720    !
1721    supcrit1_omp = .540
1722    call getin('supcrit1',supcrit1_omp)
1723
1724    !
1725    !Config Key  = supcrit2
1726    !Config Desc =
1727    !Config Def  = .600
1728    !Config Help =
1729    !
1730    supcrit2_omp = .600
1731    call getin('supcrit2',supcrit2_omp)
1732
1733    !
1734    ! PARAMETERS FOR THE MIXING DISTRIBUTION
1735    ! iflag_mix: 0=OLD,
1736    !            1=NEW (JYG),           
1737    !            2=NEW + conv. depth inhib. by tropos. dryness
1738    ! '2' is NOT operationnal and should not be used.
1739    !
1740    !Config Key  = iflag_mix
1741    !Config Desc =
1742    !Config Def  = 1
1743    !Config Help =
1744    !
1745    iflag_mix_omp = 1
1746    call getin('iflag_mix',iflag_mix_omp)
1747
1748    !
1749    !Config Key  = scut
1750    !Config Desc =
1751    !Config Def  = 0.95
1752    !Config Help =
1753    !
1754    scut_omp = 0.95
1755    call getin('scut',scut_omp)
1756
1757    !
1758    !Config Key  = qqa1
1759    !Config Desc =
1760    !Config Def  = 1.0
1761    !Config Help =
1762    !
1763    qqa1_omp = 1.0
1764    call getin('qqa1',qqa1_omp)
1765
1766    !
1767    !Config Key  = qqa2
1768    !Config Desc =
1769    !Config Def  = 0.0
1770    !Config Help =
1771    !
1772    qqa2_omp = 0.0
1773    call getin('qqa2',qqa2_omp)
1774
1775    !
1776    !Config Key  = gammas
1777    !Config Desc =
1778    !Config Def  = 0.05
1779    !Config Help =
1780    !
1781    gammas_omp = 0.05
1782    call getin('gammas',gammas_omp)
1783
1784    !
1785    !Config Key  = Fmax
1786    !Config Desc =
1787    !Config Def  = 0.65
1788    !Config Help =
1789    !
1790    Fmax_omp = 0.65
1791    call getin('Fmax',Fmax_omp)
1792
1793    !
1794    !Config Key  = tmax_fonte_cv
1795    !Config Desc =
1796    !Config Def  = 275.15
1797    !Config Help =
1798    !
1799    tmax_fonte_cv_omp = 275.15
1800    call getin('tmax_fonte_cv',tmax_fonte_cv_omp)
1801
1802    !
1803    !Config Key  = alphas 
1804    !Config Desc =
1805    !Config Def  = -5.
1806    !Config Help =
1807    !
1808    alphas_omp = -5.
1809    call getin('alphas',alphas_omp)
1810
1811    !Config key = ok_strato
1812    !Config  Desc = activation de la version strato
1813    !Config  Def  = .FALSE.
1814    !Config  Help = active la version stratosph\'erique de LMDZ de F. Lott
1815
1816    ok_strato_omp=.FALSE.
1817    CALL getin('ok_strato',ok_strato_omp)
1818
1819    !Config  key = ok_hines
1820    !Config  Desc = activation de la parametrisation de hines
1821    !Config  Def  = .FALSE.
1822    !Config  Help = Clefs controlant la parametrization de Hines
1823    !               Et la sponge layer (Runs Stratospheriques)
1824
1825    ok_hines_omp=.FALSE.
1826    CALL getin('ok_hines',ok_hines_omp)
1827
1828    ! Random gravity waves:
1829
1830    ok_gwd_rando_omp = .FALSE.
1831    IF ( klon_glo == 1 ) THEN
1832       print*,'La parametrisation des ondes de gravites non orographiques'
1833       print*,'ne fonctionne pas en 1D'
1834    ELSE
1835       CALL getin('ok_gwd_rando', ok_gwd_rando_omp)
1836    ENDIF
1837
1838    GWD_RANDO_RUWMAX_omp = 0.01
1839    CALL getin('gwd_rando_ruwmax', GWD_RANDO_RUWMAX_omp)
1840
1841    gwd_rando_sat_omp = 0.25
1842    CALL getin('gwd_rando_sat', gwd_rando_sat_omp)
1843
1844    !Config  key = ok_qch4
1845    !Config  Desc = activation de la parametrisation du methane
1846    !Config  Def  = .FALSE.
1847    !Config  Help = Clef controlant l'activation de la parametrisation
1848    !               de l'humidite due a oxydation+photolyse du methane strato
1849
1850    ok_qch4_omp=.FALSE.
1851    CALL getin('ok_qch4',ok_qch4_omp)
1852
1853    !Config Key  = OK_LES                                               
1854    !Config Desc = Pour des sorties LES                                 
1855    !Config Def  = .false.                                             
1856    !Config Help = Pour creer le fichier histLES contenant les sorties 
1857    !              LES                                                 
1858    !                                                                   
1859    ok_LES_omp = .false.                                             
1860    call getin('OK_LES', ok_LES_omp)                                 
1861
1862    !Config Key  = callstats                                               
1863    !Config Desc = Pour des sorties callstats                                 
1864    !Config Def  = .false.                                             
1865    !Config Help = Pour creer le fichier stats contenant les sorties 
1866    !              stats                                                 
1867    !                                                                   
1868    callstats_omp = .false.                                             
1869    call getin('callstats', callstats_omp)                                 
1870    !
1871    !Config Key  = ecrit_LES
1872    !Config Desc = Frequence d'ecriture des resultats du LES en nombre de jours;
1873    !              par defaut 1., i.e. 1 jour
1874    !Config Def  = 1./8.
1875    !Config Help = ...
1876    !
1877    !
1878    ecrit_LES_omp = 1./8.
1879    call getin('ecrit_LES', ecrit_LES_omp)
1880    !
1881    read_climoz = 0 ! default value
1882    call getin('read_climoz', read_climoz)
1883
1884    carbon_cycle_tr_omp=.FALSE.
1885    CALL getin('carbon_cycle_tr',carbon_cycle_tr_omp)
1886
1887    carbon_cycle_cpl_omp=.FALSE.
1888    CALL getin('carbon_cycle_cpl',carbon_cycle_cpl_omp)
1889
1890    !$OMP END MASTER
1891    !$OMP BARRIER
1892
1893    R_ecc = R_ecc_omp
1894    R_peri = R_peri_omp
1895    R_incl = R_incl_omp
1896    solaire = solaire_omp
1897    co2_ppm = co2_ppm_omp
1898    RCO2 = RCO2_omp
1899    CH4_ppb = CH4_ppb_omp
1900    RCH4 = RCH4_omp
1901    N2O_ppb = N2O_ppb_omp
1902    RN2O = RN2O_omp
1903    CFC11_ppt = CFC11_ppt_omp
1904    RCFC11 = RCFC11_omp
1905    CFC12_ppt = CFC12_ppt_omp
1906    RCFC12 = RCFC12_omp
1907    RCO2_act = RCO2
1908    RCH4_act = RCH4
1909    RN2O_act = RN2O
1910    RCFC11_act = RCFC11
1911    RCFC12_act = RCFC12
1912    ok_4xCO2atm = ok_4xCO2atm_omp
1913    RCO2_per = RCO2_per_omp
1914    RCH4_per = RCH4_per_omp
1915    RN2O_per = RN2O_per_omp
1916    RCFC11_per = RCFC11_per_omp
1917    RCFC12_per = RCFC12_per_omp
1918
1919    cycle_diurne = cycle_diurne_omp
1920    soil_model = soil_model_omp
1921    new_oliq = new_oliq_omp
1922    ok_orodr = ok_orodr_omp
1923    ok_orolf = ok_orolf_omp
1924    ok_limitvrai = ok_limitvrai_omp
1925    nbapp_rad = nbapp_rad_omp
1926    iflag_con = iflag_con_omp
1927    iflag_ener_conserv = iflag_ener_conserv_omp
1928    ok_conserv_q = ok_conserv_q_omp
1929    iflag_fisrtilp_qsat = iflag_fisrtilp_qsat_omp
1930
1931    epmax = epmax_omp
1932    ok_adj_ema = ok_adj_ema_omp
1933    iflag_clw = iflag_clw_omp
1934    cld_lc_lsc = cld_lc_lsc_omp
1935    cld_lc_con = cld_lc_con_omp
1936    cld_tau_lsc = cld_tau_lsc_omp
1937    cld_tau_con = cld_tau_con_omp
1938    ffallv_lsc = ffallv_lsc_omp
1939    ffallv_con = ffallv_con_omp
1940    coef_eva = coef_eva_omp
1941    reevap_ice = reevap_ice_omp
1942    iflag_pdf = iflag_pdf_omp
1943    solarlong0 = solarlong0_omp
1944    qsol0 = qsol0_omp
1945    evap0 = evap0_omp
1946    albsno0 = albsno0_omp
1947    inertie_sol = inertie_sol_omp
1948    inertie_ice = inertie_ice_omp
1949    inertie_sno = inertie_sno_omp
1950    rad_froid = rad_froid_omp
1951    rad_chau1 = rad_chau1_omp
1952    rad_chau2 = rad_chau2_omp
1953    t_glace_min = t_glace_min_omp
1954    t_glace_max = t_glace_max_omp
1955    exposant_glace = exposant_glace_omp
1956    iflag_t_glace = iflag_t_glace_omp
1957    iflag_ice_thermo = iflag_ice_thermo_omp
1958    rei_min = rei_min_omp
1959    rei_max = rei_max_omp
1960    top_height = top_height_omp
1961    overlap = overlap_omp
1962    cdmmax = cdmmax_omp
1963    cdhmax = cdhmax_omp
1964    ksta = ksta_omp
1965    ksta_ter = ksta_ter_omp
1966    f_ri_cd_min = f_ri_cd_min_omp
1967    ok_kzmin = ok_kzmin_omp
1968    fmagic = fmagic_omp
1969    pmagic = pmagic_omp
1970    iflag_pbl = iflag_pbl_omp
1971    iflag_pbl_split = iflag_pbl_split_omp
1972    lev_histhf = lev_histhf_omp
1973    lev_histday = lev_histday_omp
1974    lev_histmth = lev_histmth_omp
1975    lev_histins = lev_histins_omp
1976    lev_histLES = lev_histLES_omp
1977    lev_histdayNMC = lev_histdayNMC_omp
1978    levout_histNMC = levout_histNMC_omp
1979    ok_histNMC(:) = ok_histNMC_omp(:)
1980    freq_outNMC(:) = freq_outNMC_omp(:)
1981    freq_calNMC(:) = freq_calNMC_omp(:)
1982
1983    type_ocean = type_ocean_omp
1984    version_ocean = version_ocean_omp
1985    t_coupl = t_coupl_omp
1986
1987    ok_veget=.true.
1988    type_veget=type_veget_omp
1989    if (type_veget=='n' .or. type_veget=='bucket' .or. type_veget=='betaclim') &
1990         then
1991       ok_veget=.false.
1992    endif
1993    ! Martin
1994    ok_snow = ok_snow_omp
1995    ! Martin
1996
1997    ok_all_xml = ok_all_xml_omp
1998    ok_newmicro = ok_newmicro_omp
1999    ok_journe = ok_journe_omp
2000    ok_hf = ok_hf_omp
2001    ok_mensuel = ok_mensuel_omp
2002    ok_instan = ok_instan_omp
2003    freq_ISCCP = freq_ISCCP_omp
2004    ecrit_ISCCP = ecrit_ISCCP_omp
2005    freq_COSP = freq_COSP_omp
2006    ok_ade = ok_ade_omp
2007    ok_aie = ok_aie_omp
2008    ok_cdnc = ok_cdnc_omp
2009    aerosol_couple = aerosol_couple_omp
2010    flag_aerosol=flag_aerosol_omp
2011    flag_aerosol_strat=flag_aerosol_strat_omp
2012    new_aod=new_aod_omp
2013    aer_type = aer_type_omp
2014    bl95_b0 = bl95_b0_omp
2015    bl95_b1 = bl95_b1_omp
2016    fact_cldcon = fact_cldcon_omp
2017    facttemps = facttemps_omp
2018    ratqsbas = ratqsbas_omp
2019    ratqshaut = ratqshaut_omp
2020    tau_ratqs = tau_ratqs_omp
2021
2022    iflag_radia = iflag_radia_omp
2023    iflag_rrtm = iflag_rrtm_omp
2024    iflag_albedo = iflag_albedo_omp
2025    ok_chlorophyll = ok_chlorophyll_omp
2026    NSW = NSW_omp
2027    iflag_cld_th = iflag_cld_th_omp
2028    iflag_cld_cv = iflag_cld_cv_omp
2029    tau_cld_cv = tau_cld_cv_omp
2030    coefw_cld_cv = coefw_cld_cv_omp
2031    iflag_ratqs = iflag_ratqs_omp
2032    ip_ebil_phy = ip_ebil_phy_omp
2033    iflag_thermals = iflag_thermals_omp
2034    iflag_thermals_ed = iflag_thermals_ed_omp
2035    fact_thermals_ed_dz = fact_thermals_ed_dz_omp
2036    iflag_thermals_optflux = iflag_thermals_optflux_omp
2037    iflag_thermals_closure = iflag_thermals_closure_omp
2038    nsplit_thermals = nsplit_thermals_omp
2039    tau_thermals = tau_thermals_omp
2040    alp_bl_k = alp_bl_k_omp
2041    ! nrlmd le 10/04/2012
2042    iflag_trig_bl = iflag_trig_bl_omp
2043    s_trig = s_trig_omp
2044    tau_trig_shallow = tau_trig_shallow_omp
2045    tau_trig_deep = tau_trig_deep_omp
2046    iflag_clos_bl = iflag_clos_bl_omp
2047    ! fin nrlmd le 10/04/2012
2048    iflag_coupl = iflag_coupl_omp
2049    iflag_clos = iflag_clos_omp
2050    iflag_wake = iflag_wake_omp
2051    coef_clos_ls = coef_clos_ls_omp
2052    alp_offset = alp_offset_omp
2053    iflag_cvl_sigd = iflag_cvl_sigd_omp
2054    type_run = type_run_omp
2055    ok_cosp = ok_cosp_omp
2056    ok_mensuelCOSP = ok_mensuelCOSP_omp
2057    ok_journeCOSP = ok_journeCOSP_omp
2058    ok_hfCOSP = ok_hfCOSP_omp
2059    seuil_inversion=seuil_inversion_omp
2060    lonmin_ins = lonmin_ins_omp
2061    lonmax_ins = lonmax_ins_omp
2062    latmin_ins = latmin_ins_omp
2063    latmax_ins = latmax_ins_omp
2064    ecrit_hf   = ecrit_hf_omp
2065    ecrit_ins   = ecrit_ins_omp
2066    ecrit_day = ecrit_day_omp
2067    ecrit_mth = ecrit_mth_omp
2068    ecrit_tra = ecrit_tra_omp
2069    ecrit_reg = ecrit_reg_omp
2070    cvl_comp_threshold = cvl_comp_threshold_omp
2071    cvl_sig2feed = cvl_sig2feed_omp
2072    cvl_corr = cvl_corr_omp
2073    ok_lic_melt = ok_lic_melt_omp
2074    f_cdrag_ter=f_cdrag_ter_omp
2075    f_cdrag_oce=f_cdrag_oce_omp
2076
2077    f_gust_wk=f_gust_wk_omp
2078    f_gust_bl=f_gust_bl_omp
2079    f_qsat_oce=f_qsat_oce_omp
2080    f_z0qh_oce=f_z0qh_oce_omp
2081    min_wind_speed=min_wind_speed_omp
2082    iflag_gusts=iflag_gusts_omp
2083    iflag_z0_oce=iflag_z0_oce_omp
2084
2085
2086    z0m_seaice=z0m_seaice_omp
2087    z0h_seaice=z0h_seaice_omp
2088
2089    f_rugoro=f_rugoro_omp
2090
2091    z0min=z0min_omp
2092    supcrit1 = supcrit1_omp
2093    supcrit2 = supcrit2_omp
2094    iflag_mix = iflag_mix_omp
2095    scut = scut_omp
2096    qqa1 = qqa1_omp
2097    qqa2 = qqa2_omp
2098    gammas = gammas_omp
2099    Fmax = Fmax_omp
2100    tmax_fonte_cv = tmax_fonte_cv_omp
2101    alphas = alphas_omp
2102    ok_strato = ok_strato_omp
2103    ok_hines = ok_hines_omp
2104    ok_gwd_rando = ok_gwd_rando_omp
2105    GWD_RANDO_RUWMAX = GWD_RANDO_RUWMAX_omp
2106    gwd_rando_sat = gwd_rando_sat_omp
2107    ok_qch4 = ok_qch4_omp
2108    ok_LES = ok_LES_omp
2109    callstats = callstats_omp
2110    ecrit_LES = ecrit_LES_omp
2111    carbon_cycle_tr = carbon_cycle_tr_omp
2112    carbon_cycle_cpl = carbon_cycle_cpl_omp
2113
2114    ! Test of coherence between type_ocean and version_ocean
2115    IF (type_ocean=='couple' .AND. (version_ocean/='opa8' .AND. version_ocean/='nemo') ) THEN
2116       WRITE(lunout,*)' ERROR version_ocean=',version_ocean,' not valid in coupled configuration'
2117       CALL abort_gcm('conf_phys','version_ocean not valid',1)
2118    END IF
2119
2120    IF (type_ocean=='slab' .AND. version_ocean=='xxxxxx') THEN
2121       version_ocean='sicOBS'
2122    ELSE IF (type_ocean=='slab' .AND. version_ocean/='sicOBS' &
2123             .AND. version_ocean/='sicINT' .AND. version_ocean/='sicNO') THEN
2124       WRITE(lunout,*)' ERROR version_ocean=',version_ocean,' not valid with slab ocean'
2125       CALL abort_gcm('conf_phys','version_ocean not valid',1)
2126    END IF
2127
2128    ! Test sur new_aod. Ce flag permet de retrouver les resultats de l'AR4
2129    ! il n'est utilisable que lors du couplage avec le SO4 seul
2130    IF (ok_ade .OR. ok_aie) THEN
2131       IF ( flag_aerosol .EQ. 0 ) THEN
2132          CALL abort_gcm('conf_phys','flag_aerosol=0 not compatible avec ok_ade ou ok_aie=.TRUE.',1)
2133       END IF
2134       IF ( .NOT. new_aod .AND.  flag_aerosol .NE. 1) THEN
2135          CALL abort_gcm('conf_phys','new_aod=.FALSE. not compatible avec flag_aerosol=1',1)
2136       END IF
2137    END IF
2138
2139    ! ok_cdnc must be set to y if ok_aie is activated
2140    IF (ok_aie .AND. .NOT. ok_cdnc) THEN
2141       CALL abort_gcm('conf_phys', 'ok_cdnc must be set to y if ok_aie is activated',1)
2142    ENDIF
2143
2144    !$OMP MASTER
2145
2146    write(lunout,*)' ##############################################'
2147    write(lunout,*)' Configuration des parametres de la physique: '
2148    write(lunout,*)' Type ocean = ', type_ocean
2149    write(lunout,*)' Version ocean = ', version_ocean
2150    write(lunout,*)' Config veget = ', ok_veget,type_veget
2151    write(lunout,*)' Snow model SISVAT : ok_snow = ', ok_snow
2152    write(lunout,*)' Config xml pour XIOS : ok_all_xml = ', ok_all_xml
2153    write(lunout,*)' Sortie journaliere = ', ok_journe
2154    write(lunout,*)' Sortie haute frequence = ', ok_hf
2155    write(lunout,*)' Sortie mensuelle = ', ok_mensuel
2156    write(lunout,*)' Sortie instantanee = ', ok_instan
2157    write(lunout,*)' Frequence appel simulateur ISCCP, freq_ISCCP =', freq_ISCCP
2158    write(lunout,*)' Frequence appel simulateur ISCCP, ecrit_ISCCP =', ecrit_ISCCP
2159    write(lunout,*)' Frequence appel simulateur COSP, freq_COSP =', freq_COSP
2160    write(lunout,*)' Sortie bilan d''energie, ip_ebil_phy =', ip_ebil_phy
2161    write(lunout,*)' Excentricite = ',R_ecc
2162    write(lunout,*)' Equinoxe = ',R_peri
2163    write(lunout,*)' Inclinaison =',R_incl
2164    write(lunout,*)' Constante solaire =',solaire
2165    write(lunout,*)' co2_ppm =',co2_ppm
2166    write(lunout,*)' RCO2_act = ',RCO2_act
2167    write(lunout,*)' CH4_ppb =',CH4_ppb,' RCH4_act = ',RCH4_act
2168    write(lunout,*)' N2O_ppb =',N2O_ppb,' RN2O_act=  ',RN2O_act
2169    write(lunout,*)' CFC11_ppt=',CFC11_ppt,' RCFC11_act=  ',RCFC11_act
2170    write(lunout,*)' CFC12_ppt=',CFC12_ppt,' RCFC12_act=  ',RCFC12_act
2171    write(lunout,*)' ok_4xCO2atm=',ok_4xCO2atm
2172    write(lunout,*)' RCO2_per = ',RCO2_per,' RCH4_per = ', RCH4_per
2173    write(lunout,*)' RN2O_per = ',RN2O_per,' RCFC11_per = ', RCFC11_per
2174    write(lunout,*)' RCFC12_per = ',RCFC12_per
2175    write(lunout,*)' cvl_comp_threshold=', cvl_comp_threshold
2176    write(lunout,*)' cvl_sig2feed=', cvl_sig2feed
2177    write(lunout,*)' cvl_corr=', cvl_corr
2178    write(lunout,*)'ok_lic_melt=', ok_lic_melt
2179    write(lunout,*)'cycle_diurne=',cycle_diurne
2180    write(lunout,*)'soil_model=',soil_model
2181    write(lunout,*)'new_oliq=',new_oliq
2182    write(lunout,*)'ok_orodr=',ok_orodr
2183    write(lunout,*)'ok_orolf=',ok_orolf
2184    write(lunout,*)'ok_limitvrai=',ok_limitvrai
2185    write(lunout,*)'nbapp_rad=',nbapp_rad
2186    write(lunout,*)'iflag_con=',iflag_con
2187    write(lunout,*)'iflag_ener_conserv=',iflag_ener_conserv
2188    write(lunout,*)'ok_conserv_q=',ok_conserv_q
2189    write(lunout,*)'iflag_fisrtilp_qsat=',iflag_fisrtilp_qsat
2190    write(lunout,*)' epmax = ', epmax
2191    write(lunout,*)' ok_adj_ema = ', ok_adj_ema
2192    write(lunout,*)' iflag_clw = ', iflag_clw
2193    write(lunout,*)' cld_lc_lsc = ', cld_lc_lsc
2194    write(lunout,*)' cld_lc_con = ', cld_lc_con
2195    write(lunout,*)' cld_tau_lsc = ', cld_tau_lsc
2196    write(lunout,*)' cld_tau_con = ', cld_tau_con
2197    write(lunout,*)' ffallv_lsc = ', ffallv_lsc
2198    write(lunout,*)' ffallv_con = ', ffallv_con
2199    write(lunout,*)' coef_eva = ', coef_eva
2200    write(lunout,*)' reevap_ice = ', reevap_ice
2201    write(lunout,*)' iflag_pdf = ', iflag_pdf
2202    write(lunout,*)' iflag_cld_th = ', iflag_cld_th
2203    write(lunout,*)' iflag_cld_cv = ', iflag_cld_cv
2204    write(lunout,*)' tau_cld_cv = ', tau_cld_cv
2205    write(lunout,*)' coefw_cld_cv = ', coefw_cld_cv
2206    write(lunout,*)' iflag_radia = ', iflag_radia
2207    write(lunout,*)' iflag_rrtm = ', iflag_rrtm
2208    write(lunout,*)' NSW = ', NSW
2209    write(lunout,*)' iflag_albedo = ', iflag_albedo !albedo SB
2210    write(lunout,*)' ok_chlorophyll =',ok_chlorophyll ! albedo SB
2211    write(lunout,*)' iflag_ratqs = ', iflag_ratqs
2212    write(lunout,*)' seuil_inversion = ', seuil_inversion
2213    write(lunout,*)' fact_cldcon = ', fact_cldcon
2214    write(lunout,*)' facttemps = ', facttemps
2215    write(lunout,*)' ok_newmicro = ',ok_newmicro
2216    write(lunout,*)' ratqsbas = ',ratqsbas
2217    write(lunout,*)' ratqshaut = ',ratqshaut
2218    write(lunout,*)' tau_ratqs = ',tau_ratqs
2219    write(lunout,*)' top_height = ',top_height
2220    write(lunout,*)' rad_froid = ',rad_froid
2221    write(lunout,*)' rad_chau1 = ',rad_chau1
2222    write(lunout,*)' rad_chau2 = ',rad_chau2
2223    write(lunout,*)' t_glace_min = ',t_glace_min
2224    write(lunout,*)' t_glace_max = ',t_glace_max
2225    write(lunout,*)' exposant_glace = ',exposant_glace
2226    write(lunout,*)' iflag_t_glace = ',iflag_t_glace
2227    write(lunout,*)' iflag_ice_thermo = ',iflag_ice_thermo
2228    write(lunout,*)' rei_min = ',rei_min
2229    write(lunout,*)' rei_max = ',rei_max
2230    write(lunout,*)' overlap = ',overlap
2231    write(lunout,*)' cdmmax = ',cdmmax
2232    write(lunout,*)' cdhmax = ',cdhmax
2233    write(lunout,*)' ksta = ',ksta
2234    write(lunout,*)' ksta_ter = ',ksta_ter
2235    write(lunout,*)' f_ri_cd_min = ',f_ri_cd_min
2236    write(lunout,*)' ok_kzmin = ',ok_kzmin
2237    write(lunout,*)' fmagic = ',fmagic
2238    write(lunout,*)' pmagic = ',pmagic
2239    write(lunout,*)' ok_ade = ',ok_ade
2240    write(lunout,*)' ok_aie = ',ok_aie
2241    write(lunout,*)' aerosol_couple = ', aerosol_couple
2242    write(lunout,*)' flag_aerosol = ', flag_aerosol
2243    write(lunout,*)' flag_aerosol_strat = ', flag_aerosol_strat
2244    write(lunout,*)' new_aod = ', new_aod
2245    write(lunout,*)' aer_type = ',aer_type
2246    write(lunout,*)' bl95_b0 = ',bl95_b0
2247    write(lunout,*)' bl95_b1 = ',bl95_b1
2248    write(lunout,*)' lev_histhf = ',lev_histhf
2249    write(lunout,*)' lev_histday = ',lev_histday
2250    write(lunout,*)' lev_histmth = ',lev_histmth
2251    write(lunout,*)' lev_histins = ',lev_histins
2252    write(lunout,*)' lev_histLES = ',lev_histLES
2253    write(lunout,*)' lev_histdayNMC = ',lev_histdayNMC
2254    write(lunout,*)' levout_histNMC = ',levout_histNMC
2255    write(lunout,*)' ok_histNMC = ',ok_histNMC
2256    write(lunout,*)' freq_outNMC = ',freq_outNMC
2257    write(lunout,*)' freq_calNMC = ',freq_calNMC
2258    write(lunout,*)' iflag_pbl = ', iflag_pbl
2259    write(lunout,*)' iflag_pbl_split = ', iflag_pbl_split
2260    write(lunout,*)' iflag_thermals = ', iflag_thermals
2261    write(lunout,*)' iflag_thermals_ed = ', iflag_thermals_ed
2262    write(lunout,*)' fact_thermals_ed_dz = ', fact_thermals_ed_dz
2263    write(lunout,*)' iflag_thermals_optflux = ', iflag_thermals_optflux
2264    write(lunout,*)' iflag_thermals_closure = ', iflag_thermals_closure
2265    write(lunout,*)' iflag_clos = ', iflag_clos
2266    write(lunout,*)' coef_clos_ls = ', coef_clos_ls
2267    write(lunout,*)' type_run = ',type_run
2268    write(lunout,*)' ok_cosp = ',ok_cosp
2269    write(lunout,*)' ok_mensuelCOSP = ',ok_mensuelCOSP
2270    write(lunout,*)' ok_journeCOSP = ',ok_journeCOSP
2271    write(lunout,*)' ok_hfCOSP =',ok_hfCOSP
2272    write(lunout,*)' solarlong0 = ', solarlong0
2273    write(lunout,*)' qsol0 = ', qsol0
2274    write(lunout,*)' evap0 = ', evap0
2275    write(lunout,*)' albsno0 = ', albsno0
2276    write(lunout,*)' inertie_sol = ', inertie_sol
2277    write(lunout,*)' inertie_ice = ', inertie_ice
2278    write(lunout,*)' inertie_sno = ', inertie_sno
2279    write(lunout,*)' f_cdrag_ter = ',f_cdrag_ter
2280    write(lunout,*)' f_cdrag_oce = ',f_cdrag_oce
2281    write(lunout,*)' f_rugoro = ',f_rugoro
2282    write(lunout,*)' z0min = ',z0min
2283    write(lunout,*)' supcrit1 = ', supcrit1
2284    write(lunout,*)' supcrit2 = ', supcrit2
2285    write(lunout,*)' iflag_mix = ', iflag_mix
2286    write(lunout,*)' scut = ', scut
2287    write(lunout,*)' qqa1 = ', qqa1
2288    write(lunout,*)' qqa2 = ', qqa2
2289    write(lunout,*)' gammas = ', gammas
2290    write(lunout,*)' Fmax = ', Fmax
2291    write(lunout,*)' tmax_fonte_cv = ', tmax_fonte_cv
2292    write(lunout,*)' alphas = ', alphas
2293    write(lunout,*)' iflag_wake = ', iflag_wake
2294    write(lunout,*)' alp_offset = ', alp_offset
2295    ! nrlmd le 10/04/2012
2296    write(lunout,*)' iflag_trig_bl = ', iflag_trig_bl
2297    write(lunout,*)' s_trig = ', s_trig
2298    write(lunout,*)' tau_trig_shallow = ', tau_trig_shallow
2299    write(lunout,*)' tau_trig_deep = ', tau_trig_deep
2300    write(lunout,*)' iflag_clos_bl = ', iflag_clos_bl
2301    ! fin nrlmd le 10/04/2012
2302
2303    write(lunout,*)' lonmin lonmax latmin latmax bilKP_ins =',&
2304         lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
2305    write(lunout,*)' ecrit_ hf, ins, day, mth, reg, tra, ISCCP, LES',&
2306         ecrit_hf, ecrit_ins, ecrit_day, ecrit_mth, ecrit_reg, ecrit_tra, ecrit_ISCCP, ecrit_LES
2307
2308    write(lunout,*) 'ok_strato = ', ok_strato
2309    write(lunout,*) 'ok_hines = ',  ok_hines
2310    write(lunout,*) 'ok_gwd_rando = ',  ok_gwd_rando
2311    write(lunout,*) 'ok_qch4 = ',  ok_qch4
2312    write(lunout,*) 'GWD_RANDO_RUWMAX = ', GWD_RANDO_RUWMAX
2313    write(lunout,*) 'gwd_rando_sat = ', gwd_rando_sat
2314    write(lunout,*) 'read_climoz = ', read_climoz
2315    write(lunout,*) 'carbon_cycle_tr = ', carbon_cycle_tr
2316    write(lunout,*) 'carbon_cycle_cpl = ', carbon_cycle_cpl
2317
2318    !$OMP END MASTER
2319
2320    return
2321
2322  end subroutine conf_phys
2323
2324end module conf_phys_m
2325!
2326!#################################################################
2327!
2328
2329subroutine conf_interface(tau_calv)
2330
2331  use IOIPSL
2332  implicit none
2333  include "iniprint.h"
2334  ! Configuration de l'interace atm/surf
2335  !
2336  ! tau_calv:    temps de relaxation pour la fonte des glaciers
2337
2338  REAL          :: tau_calv
2339  REAL,SAVE     :: tau_calv_omp
2340
2341  !
2342  !Config Key  = tau_calv
2343  !Config Desc = temps de relaxation pour fonte des glaciers en jours
2344  !Config Def  = 1 an
2345  !Config Help =
2346  !
2347  tau_calv_omp = 360.*10.
2348  !$OMP MASTER
2349  call getin('tau_calv',tau_calv_omp)
2350  !$OMP END MASTER
2351  !$OMP BARRIER
2352
2353  tau_calv=tau_calv_omp
2354
2355  !$OMP MASTER
2356  write(lunout,*)' ##############################################'
2357  WRITE(lunout,*)' Configuration de l''interface atm/surfaces  : '
2358  WRITE(lunout,*)' tau_calv = ',tau_calv
2359  !$OMP END MASTER
2360
2361  return
2362
2363end subroutine conf_interface
Note: See TracBrowser for help on using the repository browser.