source: LMDZ4/trunk/libf/phylmd/conf_phys.F90 @ 1239

Last change on this file since 1239 was 1146, checked in by Laurent Fairhead, 16 years ago

Réintegration dans le tronc des modifications issues de la branche LMDZ-dev
comprises entre la révision 1074 et 1145
Validation: une simulation de 1 jour en séquentiel sur PC donne les mêmes
résultats entre la trunk et la dev
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 37.3 KB
Line 
1
2!
3! $Header$
4!
5!
6!
7
8  subroutine conf_phys(ok_journe, ok_mensuel, ok_instan, ok_hf, &
9 &                     ok_LES,&
10 &                     solarlong0,seuil_inversion, &
11 &                     fact_cldcon, facttemps,ok_newmicro,iflag_radia,&
12 &                     iflag_cldcon, &
13 &                     iflag_ratqs,ratqsbas,ratqshaut, &
14 &                     ok_ade, ok_aie, aerosol_couple, &
15 &                     bl95_b0, bl95_b1,&
16 &                     iflag_thermals,nsplit_thermals,tau_thermals, &
17 &                     iflag_thermals_ed,iflag_thermals_optflux, &
18 &                     iflag_coupl,iflag_clos,iflag_wake )
19
20   use IOIPSL
21   USE surface_data
22
23   implicit none
24
25 include "conema3.h"
26 include "fisrtilp.h"
27 include "nuage.h"
28 include "YOMCST.h"
29 include "YOMCST2.h"
30!IM : on inclut/initialise les taux de CH4, N2O, CFC11 et CFC12
31include "clesphys.h"
32include "compbl.h"
33include "control.h"
34include "comsoil.h"
35!
36! Configuration de la "physique" de LMDZ a l'aide de la fonction
37! GETIN de IOIPSL
38!
39! LF 05/2001
40!
41
42!
43! type_ocean:      type d'ocean (force, slab, couple)
44! version_ocean:   version d'ocean (opa8/nemo pour type_ocean=couple ou
45!                                   sicOBS pour type_ocean=slab)
46! ok_veget:   type de modele de vegetation
47! ok_journe:  sorties journalieres
48! ok_hf:  sorties haute frequence
49! ok_mensuel: sorties mensuelles
50! ok_instan:  sorties instantanees
51! ok_ade, ok_aie: apply or not aerosol direct and indirect effects
52! bl95_b*: parameters in the formula to link CDNC to aerosol mass conc
53!
54
55
56! Sortie:
57  logical              :: ok_newmicro
58  integer              :: iflag_radia
59  logical              :: ok_journe, ok_mensuel, ok_instan, ok_hf
60  logical              :: ok_LES
61  LOGICAL              :: ok_ade, ok_aie, aerosol_couple
62  REAL                 :: bl95_b0, bl95_b1
63  real                 :: fact_cldcon, facttemps,ratqsbas,ratqshaut
64  integer              :: iflag_cldcon
65  integer              :: iflag_ratqs
66
67  character (len = 6),SAVE  :: type_ocean_omp, version_ocean_omp, ocean_omp
68  CHARACTER(len = 8),SAVE   :: aer_type_omp
69  logical,SAVE              :: ok_veget_omp, ok_newmicro_omp
70  logical,SAVE        :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp       
71  logical,SAVE        :: ok_LES_omp   
72  LOGICAL,SAVE        :: ok_ade_omp, ok_aie_omp, aerosol_couple_omp
73  REAL,SAVE           :: bl95_b0_omp, bl95_b1_omp
74  REAL,SAVE           :: freq_ISCCP_omp, ecrit_ISCCP_omp
75  real,SAVE           :: fact_cldcon_omp, facttemps_omp,ratqsbas_omp
76  real,SAVE           :: ratqshaut_omp
77  integer,SAVE        :: iflag_radia_omp
78  integer,SAVE        :: iflag_rrtm_omp
79  integer,SAVE        :: iflag_cldcon_omp, ip_ebil_phy_omp
80  integer,SAVE        :: iflag_ratqs_omp
81
82! Local
83  integer              :: numout = 6
84  real                 :: zzz
85
86  real :: seuil_inversion
87  real,save :: seuil_inversion_omp
88
89  integer :: iflag_thermals,nsplit_thermals
90  integer,SAVE :: iflag_thermals_ed_omp,iflag_thermals_optflux_omp
91  integer :: iflag_thermals_ed,iflag_thermals_optflux
92  integer,SAVE :: iflag_thermals_omp,nsplit_thermals_omp
93  real :: tau_thermals
94  real,save :: tau_thermals_omp
95  integer :: iflag_coupl
96  integer :: iflag_clos
97  integer :: iflag_wake
98  integer,SAVE :: iflag_coupl_omp,iflag_clos_omp,iflag_wake_omp
99  integer,SAVE :: iflag_cvl_sigd_omp
100  REAL, SAVE :: supcrit1_omp, supcrit2_omp
101  INTEGER, SAVE :: iflag_mix_omp
102  real, save :: scut_omp, qqa1_omp, qqa2_omp, gammas_omp, Fmax_omp, alphas_omp
103
104  REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp,co2_ppm_omp
105  REAL,SAVE :: RCO2_omp,CH4_ppb_omp,RCH4_omp,N2O_ppb_omp,RN2O_omp,CFC11_ppt_omp
106  REAL,SAVE :: RCFC11_omp,CFC12_ppt_omp,RCFC12_omp,epmax_omp
107  LOGICAL,SAVE :: ok_adj_ema_omp
108  INTEGER,SAVE :: iflag_clw_omp
109  REAL,SAVE :: cld_lc_lsc_omp,cld_lc_con_omp,cld_tau_lsc_omp,cld_tau_con_omp
110  REAL,SAVE :: ffallv_lsc_omp, ffallv_con_omp,coef_eva_omp
111  LOGICAL,SAVE :: reevap_ice_omp
112  INTEGER,SAVE :: iflag_pdf_omp
113  REAL,SAVE :: rad_froid_omp, rad_chau1_omp, rad_chau2_omp
114  REAL,SAVE :: inertie_sol_omp,inertie_sno_omp,inertie_ice_omp
115  REAL,SAVE :: qsol0_omp
116  REAL      :: solarlong0
117  REAL,SAVE :: solarlong0_omp
118  INTEGER,SAVE :: top_height_omp,overlap_omp
119  REAL,SAVE :: cdmmax_omp,cdhmax_omp,ksta_omp,ksta_ter_omp
120  LOGICAL,SAVE :: ok_kzmin_omp
121  REAL, SAVE ::  fmagic_omp, pmagic_omp
122  INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp
123  CHARACTER*4, SAVE :: type_run_omp
124  LOGICAL,SAVE :: ok_isccp_omp
125  REAL,SAVE :: lonmin_ins_omp, lonmax_ins_omp, latmin_ins_omp, latmax_ins_omp
126  REAL,SAVE :: ecrit_hf_omp, ecrit_day_omp, ecrit_mth_omp, ecrit_reg_omp
127  REAL,SAVE :: ecrit_LES_omp
128  REAL,SAVE :: ecrit_tra_omp
129  REAL,SAVE :: cvl_corr_omp
130  LOGICAL,SAVE :: ok_lic_melt_omp
131!
132  LOGICAL,SAVE :: cycle_diurne_omp,soil_model_omp,new_oliq_omp
133  LOGICAL,SAVE :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp
134  INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp
135  LOGICAL,SAVE :: ok_strato_omp
136  LOGICAL,SAVE :: ok_hines_omp
137!
138
139!$OMP MASTER
140!Config Key  = type_ocean
141!Config Desc = Type d'ocean
142!Config Def  = force
143!Config Help = Type d'ocean utilise: force, slab,couple
144!
145  type_ocean_omp = 'force '
146  call getin('type_ocean', type_ocean_omp)
147!
148!Config Key  = version_ocean
149!Config Desc = Version d'ocean
150!Config Def  = xxxxxx
151!Config Help = Version d'ocean utilise: opa8/nemo/sicOBS/xxxxxx
152!
153  version_ocean_omp = 'xxxxxx'
154  call getin('version_ocean', version_ocean_omp)
155
156!Config Key  = OCEAN
157!Config Desc = Old parameter name for type_ocean
158!Config Def  = yyyyyy
159!Config Help = This is only for testing purpose
160!
161  ocean_omp = 'yyyyyy'
162  call getin('OCEAN', ocean_omp)
163  IF (ocean_omp /= 'yyyyyy') THEN
164     WRITE(numout,*)'ERROR!! Old variable name OCEAN used in parmeter file.'
165     WRITE(numout,*)'Variable OCEAN has been replaced by the variable type_ocean.'
166     WRITE(numout,*)'You have to update your parameter file physiq.def to succed running'
167     CALL abort_gcm('conf_phys','Variable OCEAN no longer existing, use variable name type_ocean',1)
168  END IF
169
170!
171!Config Key  = VEGET
172!Config Desc = Type de modele de vegetation
173!Config Def  = .false.
174!Config Help = Type de modele de vegetation utilise
175!
176  ok_veget_omp = .false.
177  call getin('VEGET', ok_veget_omp)
178!
179!Config Key  = OK_journe
180!Config Desc = Pour des sorties journalieres
181!Config Def  = .false.
182!Config Help = Pour creer le fichier histday contenant les sorties
183!              journalieres
184!
185  ok_journe_omp = .false.
186  call getin('OK_journe', ok_journe_omp)
187!
188!Config Key  = ok_hf
189!Config Desc = Pour des sorties haute frequence
190!Config Def  = .false.
191!Config Help = Pour creer le fichier histhf contenant les sorties
192!              haute frequence ( 3h ou 6h)
193!
194  ok_hf_omp = .false.
195  call getin('ok_hf', ok_hf_omp)
196!
197!Config Key  = OK_mensuel
198!Config Desc = Pour des sorties mensuelles
199!Config Def  = .true.
200!Config Help = Pour creer le fichier histmth contenant les sorties
201!              mensuelles
202!
203  ok_mensuel_omp = .true.
204  call getin('OK_mensuel', ok_mensuel_omp)
205!
206!Config Key  = OK_instan
207!Config Desc = Pour des sorties instantanees
208!Config Def  = .false.
209!Config Help = Pour creer le fichier histins contenant les sorties
210!              instantanees
211!
212  ok_instan_omp = .false.
213  call getin('OK_instan', ok_instan_omp)
214!
215!Config Key  = ok_ade
216!Config Desc = Aerosol direct effect or not?
217!Config Def  = .false.
218!Config Help = Used in radlwsw.F
219!
220  ok_ade_omp = .false.
221  call getin('ok_ade', ok_ade_omp)
222
223!
224!Config Key  = ok_aie
225!Config Desc = Aerosol indirect effect or not?
226!Config Def  = .false.
227!Config Help = Used in nuage.F and radlwsw.F
228!
229  ok_aie_omp = .false.
230  call getin('ok_aie', ok_aie_omp)
231
232!
233!Config Key  = aerosol_couple
234!Config Desc = read aerosol in file or calcul by inca
235!Config Def  = .false.
236!Config Help = Used in physiq.F
237!
238  aerosol_couple_omp = .false.
239  CALL getin('aerosol_couple',aerosol_couple_omp)
240
241!
242!Config Key  = aer_type
243!Config Desc = Use a constant field for the aerosols
244!Config Def  = scenario
245!Config Help = Used in readsulfate.F
246!
247  aer_type_omp = 'scenario'
248  call getin('aer_type', aer_type_omp)
249
250!
251!Config Key  = bl95_b0
252!Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995)
253!Config Def  = .false.
254!Config Help = Used in nuage.F
255!
256  bl95_b0_omp = 2.
257  call getin('bl95_b0', bl95_b0_omp)
258
259!Config Key  = bl95_b1
260!Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995)
261!Config Def  = .false.
262!Config Help = Used in nuage.F
263!
264  bl95_b1_omp = 0.2
265  call getin('bl95_b1', bl95_b1_omp)
266
267!Config Key  = freq_ISCCP
268!Config Desc = Frequence d'appel du simulateur ISCCP en secondes;
269!              par defaut 10800, i.e. 3 heures
270!Config Def  = 10800.
271!Config Help = Used in ini_histISCCP.h
272!
273  freq_ISCCP_omp = 10800.
274  call getin('freq_ISCCP', freq_ISCCP_omp)
275!
276!Config Key  = ecrit_ISCCP
277!Config Desc = Frequence d'ecriture des resultats du simulateur ISCCP en nombre de jours;
278!              par defaut 1., i.e. 1 jour
279!Config Def  = 1.
280!Config Help = Used in ini_histISCCP.h
281!
282!
283  ecrit_ISCCP_omp = 1.
284  call getin('ecrit_ISCCP', ecrit_ISCCP_omp)
285!
286!Config Key  = ip_ebil_phy
287!Config Desc = Niveau de sortie pour les diags bilan d'energie
288!Config Def  = 0
289!Config Help =
290!               
291  ip_ebil_phy_omp = 0
292  call getin('ip_ebil_phy', ip_ebil_phy_omp)
293!
294!Config Key  = seuil_inversion
295!Config Desc = Seuil ur dTh pour le choix entre les schemas de CL
296!Config Def  = -0.1
297!Config Help =
298!               
299  seuil_inversion_omp = -0.1
300  call getin('seuil_inversion', seuil_inversion_omp)
301
302!!
303!! Constante solaire & Parametres orbitaux & taux gaz effet de serre BEG
304!!
305!Config Key  = R_ecc
306!Config Desc = Excentricite
307!Config Def  = 0.016715
308!Config Help =
309!               
310!valeur AMIP II
311  R_ecc_omp = 0.016715
312  call getin('R_ecc', R_ecc_omp)
313!!
314!Config Key  = R_peri
315!Config Desc = Equinoxe
316!Config Def  =
317!Config Help =
318!               
319!
320!valeur AMIP II
321  R_peri_omp = 102.7
322  call getin('R_peri', R_peri_omp)
323!!
324!Config Key  = R_incl
325!Config Desc = Inclinaison
326!Config Def  =
327!Config Help =
328!               
329!
330!valeur AMIP II
331  R_incl_omp = 23.441
332  call getin('R_incl', R_incl_omp)
333!!
334!Config Key  = solaire
335!Config Desc = Constante solaire en W/m2
336!Config Def  = 1365.
337!Config Help =
338!               
339!
340!valeur AMIP II
341  solaire_omp = 1365.
342  call getin('solaire', solaire_omp)
343!!
344!Config Key  = co2_ppm
345!Config Desc = concentration du gaz carbonique en ppmv
346!Config Def  = 348.
347!Config Help =
348!               
349!
350!valeur AMIP II
351  co2_ppm_omp = 348.
352  call getin('co2_ppm', co2_ppm_omp)
353!!
354!Config Key  = RCO2
355!Config Desc = Concentration du CO2
356!Config Def  = co2_ppm * 1.0e-06  * 44.011/28.97
357!Config Def  = 348. * 1.0e-06  * 44.011/28.97
358!Config Help =
359!               
360! RCO2 = 5.286789092164308E-04
361!ancienne valeur
362  RCO2_omp = co2_ppm_omp * 1.0e-06  * 44.011/28.97 ! pour co2_ppm=348.
363
364!!  call getin('RCO2', RCO2)
365!!
366!Config Key  = RCH4
367!Config Desc = Concentration du CH4
368!Config Def  = 1.65E-06* 16.043/28.97
369!Config Help =
370!               
371!
372!valeur AMIP II
373!OK  RCH4 = 1.65E-06* 16.043/28.97
374! RCH4 = 9.137366240938903E-07
375!
376!ancienne valeur
377! RCH4 = 1.72E-06* 16.043/28.97
378!OK call getin('RCH4', RCH4)
379  zzz = 1650.
380  call getin('CH4_ppb', zzz)
381  CH4_ppb_omp = zzz
382  RCH4_omp = CH4_ppb_omp * 1.0E-09 * 16.043/28.97
383!!
384!Config Key  = RN2O
385!Config Desc = Concentration du N2O
386!Config Def  = 306.E-09* 44.013/28.97
387!Config Help =
388!               
389!
390!valeur AMIP II
391!OK  RN2O = 306.E-09* 44.013/28.97
392! RN2O = 4.648939592682085E-07
393!
394!ancienne valeur
395! RN2O = 310.E-09* 44.013/28.97
396!OK  call getin('RN2O', RN2O)
397  zzz=306.
398  call getin('N2O_ppb', zzz)
399  N2O_ppb_omp = zzz
400  RN2O_omp = N2O_ppb_omp * 1.0E-09 * 44.013/28.97
401!!
402!Config Key  = RCFC11
403!Config Desc = Concentration du CFC11
404!Config Def  = 280.E-12* 137.3686/28.97
405!Config Help =
406!               
407!
408!OK RCFC11 = 280.E-12* 137.3686/28.97
409  zzz = 280.
410  call getin('CFC11_ppt',zzz)
411  CFC11_ppt_omp = zzz
412  RCFC11_omp=CFC11_ppt_omp* 1.0E-12 * 137.3686/28.97
413! RCFC11 = 1.327690990680013E-09
414!OK call getin('RCFC11', RCFC11)
415!!
416!Config Key  = RCFC12
417!Config Desc = Concentration du CFC12
418!Config Def  = 484.E-12* 120.9140/28.97
419!Config Help =
420!               
421!
422!OK RCFC12 = 484.E-12* 120.9140/28.97
423  zzz = 484.
424  call getin('CFC12_ppt',zzz)
425  CFC12_ppt_omp = zzz
426  RCFC12_omp = CFC12_ppt_omp * 1.0E-12 * 120.9140/28.97
427! RCFC12 = 2.020102726958923E-09
428!OK call getin('RCFC12', RCFC12)
429
430
431
432!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
433! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique
434! Constantes precedemment dans dyn3d/conf_gcm
435
436!Config  Key  = cycle_diurne
437!Config  Desc = Cycle ddiurne
438!Config  Def  = y
439!Config  Help = Cette option permet d'eteidre le cycle diurne.
440!Config         Peut etre util pour accelerer le code !
441       cycle_diurne_omp = .TRUE.
442       CALL getin('cycle_diurne',cycle_diurne_omp)
443
444!Config  Key  = soil_model
445!Config  Desc = Modele de sol
446!Config  Def  = y
447!Config  Help = Choix du modele de sol (Thermique ?)
448!Config         Option qui pourait un string afin de pouvoir
449!Config         plus de choix ! Ou meme une liste d'options !
450       soil_model_omp = .TRUE.
451       CALL getin('soil_model',soil_model_omp)
452
453!Config  Key  = new_oliq
454!Config  Desc = Nouvelle eau liquide
455!Config  Def  = y
456!Config  Help = Permet de mettre en route la
457!Config         nouvelle parametrisation de l'eau liquide !
458       new_oliq_omp = .TRUE.
459       CALL getin('new_oliq',new_oliq_omp)
460
461!Config  Key  = ok_orodr
462!Config  Desc = Orodr ???
463!Config  Def  = y
464!Config  Help = Y en a pas comprendre !
465!Config         
466       ok_orodr_omp = .TRUE.
467       CALL getin('ok_orodr',ok_orodr_omp)
468
469!Config  Key  =  ok_orolf
470!Config  Desc = Orolf ??
471!Config  Def  = y
472!Config  Help = Connais pas !
473       ok_orolf_omp = .TRUE.
474       CALL getin('ok_orolf', ok_orolf_omp)
475
476!Config  Key  = ok_limitvrai
477!Config  Desc = Force la lecture de la bonne annee
478!Config  Def  = n
479!Config  Help = On peut forcer le modele a lire le
480!Config         fichier SST de la bonne annee. C'est une tres bonne
481!Config         idee, pourquoi ne pas mettre toujours a y ???
482       ok_limitvrai_omp = .FALSE.
483       CALL getin('ok_limitvrai',ok_limitvrai_omp)
484
485!Config  Key  = nbapp_rad
486!Config  Desc = Frequence d'appel au rayonnement
487!Config  Def  = 12
488!Config  Help = Nombre  d'appels des routines de rayonnements
489!Config         par jour.
490       nbapp_rad_omp = 12
491       CALL getin('nbapp_rad',nbapp_rad_omp)
492
493!Config  Key  = iflag_con
494!Config  Desc = Flag de convection
495!Config  Def  = 2
496!Config  Help = Flag  pour la convection les options suivantes existent :
497!Config         1 pour LMD,
498!Config         2 pour Tiedtke,
499!Config         3 pour CCM(NCAR) 
500       iflag_con_omp = 2
501       CALL getin('iflag_con',iflag_con_omp)
502
503!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
504!!
505!! Constante solaire & Parametres orbitaux & taux gaz effet de serre END
506!!
507!! KE
508!
509
510!Config key  = cvl_corr
511!Config Desc = Facteur multiplication des precip convectives dans KE
512!Config Def  = 1.00
513!Config Help = 1.02 pour un moderne ou un pre-ind. A ajuster pour un glaciaire
514  cvl_corr_omp = 1.00
515  CALL getin('cvl_corr', cvl_corr_omp)
516
517
518!Config Key  = epmax
519!Config Desc = Efficacite precip
520!Config Def  = 0.993
521!Config Help =
522!
523  epmax_omp = .993
524  call getin('epmax', epmax_omp)
525!
526!Config Key  = ok_adj_ema
527!Config Desc = 
528!Config Def  = false
529!Config Help =
530!
531  ok_adj_ema_omp = .false.
532  call getin('ok_adj_ema',ok_adj_ema_omp)
533!
534!Config Key  = iflag_clw
535!Config Desc = 
536!Config Def  = 0
537!Config Help =
538!
539  iflag_clw_omp = 0
540  call getin('iflag_clw',iflag_clw_omp)
541!
542!Config Key  = cld_lc_lsc
543!Config Desc = 
544!Config Def  = 2.6e-4
545!Config Help =
546!
547  cld_lc_lsc_omp = 2.6e-4
548  call getin('cld_lc_lsc',cld_lc_lsc_omp)
549!
550!Config Key  = cld_lc_con
551!Config Desc = 
552!Config Def  = 2.6e-4
553!Config Help =
554!
555  cld_lc_con_omp = 2.6e-4
556  call getin('cld_lc_con',cld_lc_con_omp)
557!
558!Config Key  = cld_tau_lsc
559!Config Desc = 
560!Config Def  = 3600.
561!Config Help =
562!
563  cld_tau_lsc_omp = 3600.
564  call getin('cld_tau_lsc',cld_tau_lsc_omp)
565!
566!Config Key  = cld_tau_con
567!Config Desc = 
568!Config Def  = 3600.
569!Config Help =
570!
571  cld_tau_con_omp = 3600.
572  call getin('cld_tau_con',cld_tau_con_omp)
573!
574!Config Key  = ffallv_lsc
575!Config Desc = 
576!Config Def  = 1.
577!Config Help =
578!
579  ffallv_lsc_omp = 1.
580  call getin('ffallv_lsc',ffallv_lsc_omp)
581!
582!Config Key  = ffallv_con
583!Config Desc = 
584!Config Def  = 1.
585!Config Help =
586!
587  ffallv_con_omp = 1.
588  call getin('ffallv_con',ffallv_con_omp)
589!
590!Config Key  = coef_eva
591!Config Desc = 
592!Config Def  = 2.e-5
593!Config Help =
594!
595  coef_eva_omp = 2.e-5
596  call getin('coef_eva',coef_eva_omp)
597!
598!Config Key  = reevap_ice
599!Config Desc = 
600!Config Def  = .false.
601!Config Help =
602!
603  reevap_ice_omp = .false.
604  call getin('reevap_ice',reevap_ice_omp)
605
606!Config Key  = iflag_ratqs
607!Config Desc =
608!Config Def  = 1
609!Config Help =
610!
611  iflag_ratqs_omp = 1
612  call getin('iflag_ratqs',iflag_ratqs_omp)
613
614!
615!Config Key  = iflag_radia
616!Config Desc = 
617!Config Def  = 1
618!Config Help =
619!
620  iflag_radia_omp = 1
621  call getin('iflag_radia',iflag_radia_omp)
622
623!
624!Config Key  = iflag_rrtm
625!Config Desc = 
626!Config Def  = 0
627!Config Help =
628!
629  iflag_rrtm_omp = 0
630  call getin('iflag_rrtm',iflag_rrtm_omp)
631
632!
633!Config Key  = iflag_cldcon
634!Config Desc = 
635!Config Def  = 1
636!Config Help =
637!
638  iflag_cldcon_omp = 1
639  call getin('iflag_cldcon',iflag_cldcon_omp)
640
641!
642!Config Key  = iflag_pdf
643!Config Desc = 
644!Config Def  = 0
645!Config Help =
646!
647  iflag_pdf_omp = 0
648  call getin('iflag_pdf',iflag_pdf_omp)
649!
650!Config Key  = fact_cldcon
651!Config Desc = 
652!Config Def  = 0.375
653!Config Help =
654!
655  fact_cldcon_omp = 0.375
656  call getin('fact_cldcon',fact_cldcon_omp)
657
658!
659!Config Key  = facttemps
660!Config Desc = 
661!Config Def  = 1.e-4
662!Config Help =
663!
664  facttemps_omp = 1.e-4
665  call getin('facttemps',facttemps_omp)
666
667!
668!Config Key  = ok_newmicro
669!Config Desc = 
670!Config Def  = .true.
671!Config Help =
672!
673  ok_newmicro_omp = .true.
674  call getin('ok_newmicro',ok_newmicro_omp)
675!
676!Config Key  = ratqsbas
677!Config Desc = 
678!Config Def  = 0.01
679!Config Help =
680!
681  ratqsbas_omp = 0.01
682  call getin('ratqsbas',ratqsbas_omp)
683!
684!Config Key  = ratqshaut
685!Config Desc = 
686!Config Def  = 0.3
687!Config Help =
688!
689  ratqshaut_omp = 0.3
690  call getin('ratqshaut',ratqshaut_omp)
691
692!
693!-----------------------------------------------------------------------
694! Longitude solaire pour le calcul de l'ensoleillement en degre
695! si on veut imposer la saison. Sinon, solarlong0=-999.999
696!Config Key  = solarlong0
697!Config Desc = 
698!Config Def  = -999.999
699!Config Help =
700!
701  solarlong0_omp = -999.999
702  call getin('solarlong0',solarlong0_omp)
703!
704!-----------------------------------------------------------------------
705!  Valeur imposee de l'humidite du sol pour le modele bucket.
706!Config Key  = qsol0
707!Config Desc = 
708!Config Def  = -1.
709!Config Help =
710!
711  qsol0_omp = -1.
712  call getin('qsol0',qsol0_omp)
713!
714!-----------------------------------------------------------------------
715!
716!Config Key  = inertie_ice
717!Config Desc = 
718!Config Def  = 2000.
719!Config Help =
720!
721  inertie_ice_omp = 2000.
722  call getin('inertie_ice',inertie_ice_omp)
723!
724!Config Key  = inertie_sno
725!Config Desc = 
726!Config Def  = 2000.
727!Config Help =
728!
729  inertie_sno_omp = 2000.
730  call getin('inertie_sno',inertie_sno_omp)
731!
732!Config Key  = inertie_sol
733!Config Desc = 
734!Config Def  = 2000.
735!Config Help =
736!
737  inertie_sol_omp = 2000.
738  call getin('inertie_sol',inertie_sol_omp)
739
740!
741!Config Key  = rad_froid
742!Config Desc = 
743!Config Def  = 35.0
744!Config Help =
745!
746  rad_froid_omp = 35.0
747  call getin('rad_froid',rad_froid_omp)
748
749!
750!Config Key  = rad_chau1
751!Config Desc = 
752!Config Def  = 13.0
753!Config Help =
754!
755  rad_chau1_omp = 13.0
756  call getin('rad_chau1',rad_chau1_omp)
757
758!
759!Config Key  = rad_chau2
760!Config Desc = 
761!Config Def  = 9.0
762!Config Help =
763!
764  rad_chau2_omp = 9.0
765  call getin('rad_chau2',rad_chau2_omp)
766
767!
768!Config Key  = top_height
769!Config Desc =
770!Config Def  = 3
771!Config Help =
772!
773  top_height_omp = 3
774  call getin('top_height',top_height_omp)
775
776!
777!Config Key  = overlap
778!Config Desc =
779!Config Def  = 3
780!Config Help =
781!
782  overlap_omp = 3
783  call getin('overlap',overlap_omp)
784
785
786!
787!
788!Config Key  = cdmmax
789!Config Desc =
790!Config Def  = 1.3E-3
791!Config Help =
792!
793  cdmmax_omp = 1.3E-3
794  call getin('cdmmax',cdmmax_omp)
795
796!
797!Config Key  = cdhmax
798!Config Desc =
799!Config Def  = 1.1E-3
800!Config Help =
801!
802  cdhmax_omp = 1.1E-3
803  call getin('cdhmax',cdhmax_omp)
804
805!261103
806!
807!Config Key  = ksta
808!Config Desc =
809!Config Def  = 1.0e-10
810!Config Help =
811!
812  ksta_omp = 1.0e-10
813  call getin('ksta',ksta_omp)
814
815!
816!Config Key  = ksta_ter
817!Config Desc =
818!Config Def  = 1.0e-10
819!Config Help =
820!
821  ksta_ter_omp = 1.0e-10
822  call getin('ksta_ter',ksta_ter_omp)
823
824!
825!Config Key  = ok_kzmin
826!Config Desc =
827!Config Def  = .true.
828!Config Help =
829!
830  ok_kzmin_omp = .true.
831  call getin('ok_kzmin',ok_kzmin_omp)
832
833!
834!Config Key  = fmagic
835!Config Desc = additionnal multiplicator factor used for albedo
836!Config Def  = 1.
837!Config Help = additionnal multiplicator factor used in albedo.F
838!
839  fmagic_omp = 1.
840  call getin('fmagic',fmagic_omp)
841
842!
843!Config Key  = pmagic
844!Config Desc = additional factor used for albedo
845!Config Def  = 0.
846!Config Help = additional factor used in albedo.F
847!
848  pmagic_omp = 0.
849  call getin('pmagic',pmagic_omp)
850
851
852!Config Key = ok_lic_melt
853!Config Desc = Prise en compte de la fonte de la calotte dans le bilan d'eau
854!Config Def  = .false.
855!Config Help = mettre a .false. pour assurer la conservation en eau
856  ok_lic_melt_omp = .false.
857  call getin('ok_lic_melt', ok_lic_melt_omp)
858
859!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
860! PARAMETER FOR THE PLANETARY BOUNDARY LAYER
861!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
862
863!Config Key  = iflag_pbl
864!Config Desc =
865!Config Def  = 1
866!Config Help =
867!
868  iflag_pbl_omp = 1
869  call getin('iflag_pbl',iflag_pbl_omp)
870!
871!Config Key  = iflag_thermals
872!Config Desc =
873!Config Def  = 0
874!Config Help =
875!
876  iflag_thermals_omp = 0
877  call getin('iflag_thermals',iflag_thermals_omp)
878!
879!
880!Config Key  = iflag_thermals_ed
881!Config Desc =
882!Config Def  = 0
883!Config Help =
884!
885  iflag_thermals_ed_omp = 0
886  call getin('iflag_thermals_ed',iflag_thermals_ed_omp)
887!
888!
889!Config Key  = iflag_thermals_optflux
890!Config Desc =
891!Config Def  = 0
892!Config Help =
893!
894  iflag_thermals_optflux_omp = 0
895  call getin('iflag_thermals_optflux',iflag_thermals_optflux_omp)
896!
897!
898!Config Key  = nsplit_thermals
899!Config Desc =
900!Config Def  = 1
901!Config Help =
902!
903  nsplit_thermals_omp = 1
904  call getin('nsplit_thermals',nsplit_thermals_omp)
905
906!Config Key  = tau_thermals
907!Config Desc =
908!Config Def  = 0.
909!Config Help =
910!
911  tau_thermals_omp = 0.
912  call getin('tau_thermals',tau_thermals_omp)
913
914!
915!Config Key  = iflag_coupl
916!Config Desc =
917!Config Def  = 0
918!Config Help =
919!
920  iflag_coupl = 0
921  call getin('iflag_coupl',iflag_coupl_omp)
922
923!
924!Config Key  = iflag_clos
925!Config Desc = 
926!Config Def  = 0
927!Config Help =
928!
929  iflag_clos = 1
930  call getin('iflag_clos',iflag_clos_omp)
931!
932!Config Key  = iflag_cvl_sigd
933!Config Desc = 
934!Config Def  = 0
935!Config Help =
936!
937  iflag_cvl_sigd = 0
938  call getin('iflag_cvl_sigd',iflag_cvl_sigd_omp)
939
940!Config Key  = iflag_wake
941!Config Desc = 
942!Config Def  = 0
943!Config Help =
944!
945  iflag_wake = 0
946  call getin('iflag_wake',iflag_wake_omp)
947
948!
949!Config Key  = lev_histhf
950!Config Desc =
951!Config Def  = 1
952!Config Help =
953!
954  lev_histhf_omp = 1
955  call getin('lev_histhf',lev_histhf_omp)
956
957!
958!Config Key  = lev_histday
959!Config Desc =
960!Config Def  = 1
961!Config Help =
962!
963  lev_histday_omp = 1
964  call getin('lev_histday',lev_histday_omp)
965
966!
967!Config Key  = lev_histmth
968!Config Desc =
969!Config Def  = 2
970!Config Help =
971!
972  lev_histmth_omp = 2
973  call getin('lev_histmth',lev_histmth_omp)
974
975  !
976!Config Key  = type_run
977!Config Desc =
978!Config Def  = 'AMIP'/'CFMIP'  ou 'CLIM'/'ENSP'
979!Config Help =
980!
981  type_run_omp = 'AMIP'
982  call getin('type_run',type_run_omp)
983
984!
985!Config Key  = ok_isccp
986!Config Desc =
987!Config Def  = .true.
988!Config Help =
989!
990! ok_isccp = .true.
991  ok_isccp_omp = .false.
992  call getin('ok_isccp',ok_isccp_omp)
993
994!
995! coordonnees (lonmin_ins, lonmax_ins, latmin_ins, latmax_ins) pour la zone
996! avec sorties instantannees tous les pas de temps de la physique => "histbilKP_ins.nc"
997!
998!Config Key  = lonmin_ins
999!Config Desc = 100. 
1000!Config Def  = longitude minimale sorties "bilKP_ins"
1001!Config Help =
1002!
1003   lonmin_ins_omp = 100.
1004   call getin('lonmin_ins',lonmin_ins_omp)
1005!
1006!Config Key  = lonmax_ins
1007!Config Desc = 130.
1008!Config Def  = longitude maximale sorties "bilKP_ins"
1009!Config Help =
1010!
1011   lonmax_ins_omp = 130.
1012   call getin('lonmax_ins',lonmax_ins_omp)
1013!
1014!Config Key  = latmin_ins
1015!Config Desc = -20. 
1016!Config Def  = latitude minimale sorties "bilKP_ins"
1017!Config Help =
1018!
1019   latmin_ins_omp = -20.
1020   call getin('latmin_ins',latmin_ins_omp)
1021!
1022!Config Key  = latmax_ins
1023!Config Desc = 20.
1024!Config Def  = latitude maximale sorties "bilKP_ins"
1025!Config Help =
1026!
1027   latmax_ins_omp = 20.
1028   call getin('latmax_ins',latmax_ins_omp)
1029!
1030!Config Key  = ecrit_hf
1031!Config Desc =
1032!Config Def  = 1./8. !toutes les 3h
1033!Config Help =
1034!
1035  ecrit_hf_omp = 1./8.
1036  call getin('ecrit_hf',ecrit_hf_omp)
1037!
1038!Config Key  = ecrit_day
1039!Config Desc =
1040!Config Def  = 1.0 !tous les jours
1041!Config Help = nombre de jours pour ecriture fichier histday.nc
1042!
1043  ecrit_day_omp = 1.0
1044  call getin('ecrit_day',ecrit_day_omp)
1045!
1046!Config Key  = ecrit_mth
1047!Config Desc =
1048!Config Def  = 30. !tous les 30jours (1 fois par mois)
1049!Config Help =
1050!
1051  ecrit_mth_omp = 30.
1052  call getin('ecrit_mth',ecrit_mth_omp)
1053!
1054!Config Key  = ecrit_tra
1055!Config Desc =
1056!Config Def  = 30. !tous les 30jours (1 fois par mois)
1057!Config Help =
1058!
1059  ecrit_tra_omp = 30.
1060  call getin('ecrit_tra',ecrit_tra_omp)
1061!
1062!Config Key  = ecrit_reg
1063!Config Desc =
1064!Config Def  = 0.25  !4 fois par jour
1065!Config Help =
1066!
1067  ecrit_reg_omp = 0.25   !4 fois par jour
1068  call getin('ecrit_reg',ecrit_reg_omp)
1069!
1070!
1071!
1072! PARAMETERS FOR CONVECTIVE INHIBITION BY TROPOS. DRYNESS
1073!
1074!Config Key  = supcrit1
1075!Config Desc =
1076!Config Def  = .540
1077!Config Help =
1078!
1079  supcrit1_omp = .540
1080  call getin('supcrit1',supcrit1_omp)
1081
1082!
1083!Config Key  = supcrit2
1084!Config Desc =
1085!Config Def  = .600
1086!Config Help =
1087!
1088  supcrit2_omp = .600
1089  call getin('supcrit2',supcrit2_omp)
1090
1091!
1092! PARAMETERS FOR THE MIXING DISTRIBUTION
1093!
1094!
1095!Config Key  = iflag_mix
1096!Config Desc =
1097!Config Def  = 1
1098!Config Help =
1099!
1100  iflag_mix_omp = 1
1101  call getin('iflag_mix',iflag_mix_omp)
1102
1103!
1104!Config Key  = scut
1105!Config Desc =
1106!Config Def  = 0.95
1107!Config Help =
1108!
1109  scut_omp = 0.95
1110  call getin('scut',scut_omp)
1111
1112!
1113!Config Key  = qqa1
1114!Config Desc =
1115!Config Def  = 1.0
1116!Config Help =
1117!
1118  qqa1_omp = 1.0
1119  call getin('qqa1',qqa1_omp)
1120
1121!
1122!Config Key  = qqa2
1123!Config Desc =
1124!Config Def  = 0.0
1125!Config Help =
1126!
1127  qqa2_omp = 0.0
1128  call getin('qqa2',qqa2_omp)
1129
1130!
1131!Config Key  = gammas
1132!Config Desc =
1133!Config Def  = 0.05
1134!Config Help =
1135!
1136  gammas_omp = 0.05
1137  call getin('gammas',gammas_omp)
1138
1139!
1140!Config Key  = Fmax
1141!Config Desc =
1142!Config Def  = 0.65
1143!Config Help =
1144!
1145  Fmax_omp = 0.65
1146  call getin('Fmax',Fmax_omp)
1147
1148!
1149!Config Key  = alphas 
1150!Config Desc =
1151!Config Def  = -5.
1152!Config Help =
1153!
1154  alphas_omp = -5.
1155  call getin('alphas',alphas_omp)
1156
1157!Config key = ok_strato
1158!Config  Desc = activation de la version strato
1159!Config  Def  = .FALSE.
1160!Config  Help = active la version stratosphérique de LMDZ de F. Lott
1161
1162  ok_strato_omp=.FALSE.
1163  CALL getin('ok_strato',ok_strato_omp)
1164     
1165!Config  key = ok_hines
1166!Config  Desc = activation de la parametrisation de hines
1167!Config  Def  = .FALSE.
1168!Config  Help = Clefs controlant la parametrization de Hines
1169!               Et la sponge layer (Runs Stratospheriques)
1170
1171  ok_hines_omp=.FALSE.
1172  CALL getin('ok_hines',ok_hines_omp)
1173
1174!Config Key  = OK_LES                                               
1175!Config Desc = Pour des sorties LES                                 
1176!Config Def  = .false.                                             
1177!Config Help = Pour creer le fichier histLES contenant les sorties 
1178!              LES                                                 
1179!                                                                   
1180  ok_LES_omp = .false.                                             
1181  call getin('OK_LES', ok_LES_omp)                                 
1182!
1183!Config Key  = ecrit_LES
1184!Config Desc = Frequence d'ecriture des resultats du LES en nombre de jours;
1185!              par defaut 1., i.e. 1 jour
1186!Config Def  = 1./8.
1187!Config Help = ...
1188!
1189!
1190  ecrit_LES_omp = 1./8.
1191  call getin('ecrit_LES', ecrit_LES_omp)
1192!
1193
1194!$OMP END MASTER
1195!$OMP BARRIER
1196
1197    R_ecc = R_ecc_omp
1198    R_peri = R_peri_omp
1199    R_incl = R_incl_omp
1200    solaire = solaire_omp
1201    co2_ppm = co2_ppm_omp
1202    RCO2 = RCO2_omp
1203    CH4_ppb = CH4_ppb_omp
1204    RCH4 = RCH4_omp
1205    N2O_ppb = N2O_ppb_omp
1206    RN2O = RN2O_omp
1207    CFC11_ppt = CFC11_ppt_omp
1208    RCFC11 = RCFC11_omp
1209    CFC12_ppt = CFC12_ppt_omp
1210    RCFC12 = RCFC12_omp
1211
1212    cycle_diurne = cycle_diurne_omp
1213    soil_model = soil_model_omp
1214    new_oliq = new_oliq_omp
1215    ok_orodr = ok_orodr_omp
1216    ok_orolf = ok_orolf_omp
1217    ok_limitvrai = ok_limitvrai_omp
1218    nbapp_rad = nbapp_rad_omp
1219    iflag_con = iflag_con_omp
1220
1221    epmax = epmax_omp
1222    ok_adj_ema = ok_adj_ema_omp
1223    iflag_clw = iflag_clw_omp
1224    cld_lc_lsc = cld_lc_lsc_omp
1225    cld_lc_con = cld_lc_con_omp
1226    cld_tau_lsc = cld_tau_lsc_omp
1227    cld_tau_con = cld_tau_con_omp
1228    ffallv_lsc = ffallv_lsc_omp
1229    ffallv_con = ffallv_con_omp
1230    coef_eva = coef_eva_omp
1231    reevap_ice = reevap_ice_omp
1232    iflag_pdf = iflag_pdf_omp
1233    solarlong0 = solarlong0_omp
1234    qsol0 = qsol0_omp
1235    inertie_sol = inertie_sol_omp
1236    inertie_ice = inertie_ice_omp
1237    inertie_sno = inertie_sno_omp
1238    rad_froid = rad_froid_omp
1239    rad_chau1 = rad_chau1_omp
1240    rad_chau2 = rad_chau2_omp
1241    top_height = top_height_omp
1242    overlap = overlap_omp
1243    cdmmax = cdmmax_omp
1244    cdhmax = cdhmax_omp
1245    ksta = ksta_omp
1246    ksta_ter = ksta_ter_omp
1247    ok_kzmin = ok_kzmin_omp
1248    fmagic = fmagic_omp
1249    pmagic = pmagic_omp
1250    iflag_pbl = iflag_pbl_omp
1251    lev_histhf = lev_histhf_omp
1252    lev_histday = lev_histday_omp
1253    lev_histmth = lev_histmth_omp
1254
1255    type_ocean = type_ocean_omp
1256    version_ocean = version_ocean_omp
1257    ok_veget = ok_veget_omp
1258    ok_newmicro = ok_newmicro_omp
1259    ok_journe = ok_journe_omp
1260    ok_hf = ok_hf_omp
1261    ok_mensuel = ok_mensuel_omp
1262    ok_instan = ok_instan_omp
1263    freq_ISCCP = freq_ISCCP_omp
1264    ecrit_ISCCP = ecrit_ISCCP_omp
1265    ok_ade = ok_ade_omp
1266    ok_aie = ok_aie_omp
1267    aerosol_couple = aerosol_couple_omp
1268    aer_type = aer_type_omp
1269    bl95_b0 = bl95_b0_omp
1270    bl95_b1 = bl95_b1_omp
1271    fact_cldcon = fact_cldcon_omp
1272    facttemps = facttemps_omp
1273    ratqsbas = ratqsbas_omp
1274    ratqshaut = ratqshaut_omp
1275    iflag_radia = iflag_radia_omp
1276    iflag_rrtm = iflag_rrtm_omp
1277    iflag_cldcon = iflag_cldcon_omp
1278    iflag_ratqs = iflag_ratqs_omp
1279    ip_ebil_phy = ip_ebil_phy_omp
1280    iflag_thermals = iflag_thermals_omp
1281    iflag_thermals_ed = iflag_thermals_ed_omp
1282    iflag_thermals_optflux = iflag_thermals_optflux_omp
1283    nsplit_thermals = nsplit_thermals_omp
1284    tau_thermals = tau_thermals_omp
1285    iflag_coupl = iflag_coupl_omp
1286    iflag_clos = iflag_clos_omp
1287    iflag_wake = iflag_wake_omp
1288    iflag_cvl_sigd = iflag_cvl_sigd_omp
1289    type_run = type_run_omp
1290    ok_isccp = ok_isccp_omp
1291    seuil_inversion=seuil_inversion_omp
1292    lonmin_ins = lonmin_ins_omp
1293    lonmax_ins = lonmax_ins_omp
1294    latmin_ins = latmin_ins_omp
1295    latmax_ins = latmax_ins_omp
1296    ecrit_hf   = ecrit_hf_omp
1297    ecrit_day = ecrit_day_omp
1298    ecrit_mth = ecrit_mth_omp
1299    ecrit_tra = ecrit_tra_omp
1300    ecrit_reg = ecrit_reg_omp
1301    cvl_corr = cvl_corr_omp
1302    ok_lic_melt = ok_lic_melt_omp
1303    supcrit1 = supcrit1_omp
1304    supcrit2 = supcrit2_omp
1305    iflag_mix = iflag_mix_omp
1306    scut = scut_omp
1307    qqa1 = qqa1_omp
1308    qqa2 = qqa2_omp
1309    gammas = gammas_omp
1310    Fmax = Fmax_omp
1311    alphas = alphas_omp
1312    ok_strato = ok_strato_omp
1313    ok_hines = ok_hines_omp
1314    ok_LES = ok_LES_omp
1315    ecrit_LES = ecrit_LES_omp
1316   
1317! Test of coherence between type_ocean and version_ocean
1318    IF (type_ocean=='couple' .AND. (version_ocean/='opa8' .AND. version_ocean/='nemo') ) THEN
1319       WRITE(numout,*)' ERROR version_ocean=',version_ocean,' not valid in coupled configuration'
1320       CALL abort_gcm('conf_phys','version_ocean not valid',1)
1321    END IF
1322
1323    IF (type_ocean=='slab' .AND. version_ocean=='xxxxxx') THEN
1324       version_ocean='sicOBS'
1325    ELSE IF (type_ocean=='slab' .AND. version_ocean/='sicOBS') THEN
1326       WRITE(numout,*)' ERROR version_ocean=',version_ocean,' not valid with slab ocean'
1327       CALL abort_gcm('conf_phys','version_ocean not valid',1)
1328    END IF
1329
1330!$OMP MASTER
1331
1332  write(numout,*)' ##############################################'
1333  write(numout,*)' Configuration des parametres de la physique: '
1334  write(numout,*)' Type ocean = ', type_ocean
1335  write(numout,*)' Version ocean = ', version_ocean
1336  write(numout,*)' Config veget = ', ok_veget
1337  write(numout,*)' Sortie journaliere = ', ok_journe
1338  write(numout,*)' Sortie haute frequence = ', ok_hf
1339  write(numout,*)' Sortie mensuelle = ', ok_mensuel
1340  write(numout,*)' Sortie instantanee = ', ok_instan
1341  write(numout,*)' Frequence appel simulateur ISCCP, freq_ISCCP =', freq_ISCCP
1342  write(numout,*)' Frequence appel simulateur ISCCP, ecrit_ISCCP =', ecrit_ISCCP
1343  write(numout,*)' Sortie bilan d''energie, ip_ebil_phy =', ip_ebil_phy
1344  write(numout,*)' Excentricite = ',R_ecc
1345  write(numout,*)' Equinoxe = ',R_peri
1346  write(numout,*)' Inclinaison =',R_incl
1347  write(numout,*)' Constante solaire =',solaire
1348  write(numout,*)' co2_ppm =',co2_ppm
1349  write(numout,*)' RCO2 = ',RCO2
1350  write(numout,*)' CH4_ppb =',CH4_ppb,' RCH4 = ',RCH4
1351  write(numout,*)' N2O_ppb =',N2O_ppb,' RN2O =  ',RN2O
1352  write(numout,*)' CFC11_ppt=',CFC11_ppt,' RCFC11 =  ',RCFC11
1353  write(numout,*)' CFC12_ppt=',CFC12_ppt,' RCFC12 =  ',RCFC12
1354  write(numout,*)' cvl_corr=', cvl_corr
1355  write(numout,*)'ok_lic_melt=', ok_lic_melt
1356  write(numout,*)'cycle_diurne=',cycle_diurne
1357  write(numout,*)'soil_model=',soil_model
1358  write(numout,*)'new_oliq=',new_oliq
1359  write(numout,*)'ok_orodr=',ok_orodr
1360  write(numout,*)'ok_orolf=',ok_orolf
1361  write(numout,*)'ok_limitvrai=',ok_limitvrai
1362  write(numout,*)'nbapp_rad=',nbapp_rad
1363  write(numout,*)'iflag_con=',iflag_con
1364  write(numout,*)' epmax = ', epmax
1365  write(numout,*)' ok_adj_ema = ', ok_adj_ema
1366  write(numout,*)' iflag_clw = ', iflag_clw
1367  write(numout,*)' cld_lc_lsc = ', cld_lc_lsc
1368  write(numout,*)' cld_lc_con = ', cld_lc_con
1369  write(numout,*)' cld_tau_lsc = ', cld_tau_lsc
1370  write(numout,*)' cld_tau_con = ', cld_tau_con
1371  write(numout,*)' ffallv_lsc = ', ffallv_lsc
1372  write(numout,*)' ffallv_con = ', ffallv_con
1373  write(numout,*)' coef_eva = ', coef_eva
1374  write(numout,*)' reevap_ice = ', reevap_ice
1375  write(numout,*)' iflag_pdf = ', iflag_pdf
1376  write(numout,*)' iflag_cldcon = ', iflag_cldcon
1377  write(numout,*)' iflag_radia = ', iflag_radia
1378  write(numout,*)' iflag_rrtm = ', iflag_rrtm
1379  write(numout,*)' iflag_ratqs = ', iflag_ratqs
1380  write(numout,*)' seuil_inversion = ', seuil_inversion
1381  write(numout,*)' fact_cldcon = ', fact_cldcon
1382  write(numout,*)' facttemps = ', facttemps
1383  write(numout,*)' ok_newmicro = ',ok_newmicro
1384  write(numout,*)' ratqsbas = ',ratqsbas
1385  write(numout,*)' ratqshaut = ',ratqshaut
1386  write(numout,*)' top_height = ',top_height
1387  write(numout,*)' overlap = ',overlap
1388  write(numout,*)' cdmmax = ',cdmmax
1389  write(numout,*)' cdhmax = ',cdhmax
1390  write(numout,*)' ksta = ',ksta
1391  write(numout,*)' ksta_ter = ',ksta_ter
1392  write(numout,*)' ok_kzmin = ',ok_kzmin
1393  write(numout,*)' fmagic = ',fmagic
1394  write(numout,*)' pmagic = ',pmagic
1395  write(numout,*)' ok_ade = ',ok_ade
1396  write(numout,*)' ok_aie = ',ok_aie
1397  write(numout,*)' aerosol_couple = ', aerosol_couple
1398  write(numout,*)' aer_type = ',aer_type
1399  write(numout,*)' bl95_b0 = ',bl95_b0
1400  write(numout,*)' bl95_b1 = ',bl95_b1
1401  write(numout,*)' lev_histhf = ',lev_histhf
1402  write(numout,*)' lev_histday = ',lev_histday
1403  write(numout,*)' lev_histmth = ',lev_histmth
1404  write(numout,*)' iflag_pbl = ', iflag_pbl
1405  write(numout,*)' iflag_thermals = ', iflag_thermals
1406  write(numout,*)' iflag_thermals_ed = ', iflag_thermals_ed
1407  write(numout,*)' iflag_thermals_optflux = ', iflag_thermals_optflux
1408  write(numout,*)' iflag_clos = ', iflag_clos
1409  write(numout,*)' type_run = ',type_run
1410  write(numout,*)' ok_isccp = ',ok_isccp
1411  WRITE(numout,*)' solarlong0 = ', solarlong0
1412  write(numout,*)' qsol0 = ', qsol0
1413  write(numout,*)' inertie_sol = ', inertie_sol
1414  write(numout,*)' inertie_ice = ', inertie_ice
1415  write(numout,*)' inertie_sno = ', inertie_sno
1416  write(numout,*)' supcrit1 = ', supcrit1
1417  write(numout,*)' supcrit2 = ', supcrit2
1418  write(numout,*)' iflag_mix = ', iflag_mix
1419  write(numout,*)' scut = ', scut
1420  write(numout,*)' qqa1 = ', qqa1
1421  write(numout,*)' qqa2 = ', qqa2
1422  write(numout,*)' gammas = ', gammas
1423  write(numout,*)' Fmax = ', Fmax
1424  write(numout,*)' alphas = ', alphas
1425
1426  write(numout,*)' lonmin lonmax latmin latmax bilKP_ins =',&
1427 & lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
1428  write(numout,*)' ecrit_ hf, day, mth, reg, tra, ISCCP, LES',&
1429 & ecrit_hf, ecrit_day, ecrit_mth, ecrit_reg, ecrit_tra, ecrit_ISCCP, ecrit_LES
1430
1431  write(numout,*) 'ok_strato = ', ok_strato
1432  write(numout,*) 'ok_hines = ',  ok_hines
1433 
1434!$OMP END MASTER
1435
1436  return
1437 
1438  end subroutine conf_phys
1439
1440!
1441!#################################################################
1442!
1443
1444   subroutine conf_interface(tau_calv)
1445
1446   use IOIPSL
1447   implicit none
1448
1449! Configuration de l'interace atm/surf
1450!
1451! tau_calv:    temps de relaxation pour la fonte des glaciers
1452
1453  REAL          :: tau_calv
1454  REAL,SAVE     :: tau_calv_omp
1455
1456! Local
1457  integer              :: numout = 6
1458!
1459!Config Key  = tau_calv
1460!Config Desc = temps de relaxation pour fonte des glaciers en jours
1461!Config Def  = 1 an
1462!Config Help =
1463!
1464  tau_calv_omp = 360.*10.
1465!$OMP MASTER
1466  call getin('tau_calv',tau_calv_omp)
1467!$OMP END MASTER
1468!$OMP BARRIER
1469
1470  tau_calv=tau_calv_omp
1471 
1472!$OMP MASTER
1473  write(numout,*)' ##############################################'
1474  WRITE(numout,*)' Configuration de l''interface atm/surfaces  : '
1475  WRITE(numout,*)' tau_calv = ',tau_calv
1476!$OMP END MASTER
1477
1478  return
1479
1480  end subroutine conf_interface
Note: See TracBrowser for help on using the repository browser.