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

Last change on this file since 1040 was 1027, checked in by lmdzadmin, 16 years ago

Flags en plus pour les thermiques.
FH/IM

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