source: LMDZ5/trunk/libf/phylmd/clesphys.h @ 1572

Last change on this file since 1572 was 1572, checked in by lguez, 13 years ago

Bug fix. "clesphys" is declared neither in the main program unit,
neither in "leapfrog" (since revision 956). So the variables of
"clesphys" became undefined, in principle, when returning from
subroutine "physiq".

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
1
2!
3! $Id: clesphys.h 1572 2011-09-13 08:58:59Z lguez $
4!
5!  ATTENTION!!!!: ce fichier include est compatible format fixe/format libre
6!                 veillez à n'utiliser que des ! pour les commentaires
7!                 et à bien positionner les & des lignes de continuation
8!                 (les placer en colonne 6 et en colonne 73)
9!
10!..include cles_phys.h
11!
12       LOGICAL cycle_diurne,soil_model,new_oliq,ok_orodr,ok_orolf
13       LOGICAL ok_limitvrai
14       INTEGER nbapp_rad, iflag_con
15       REAL co2_ppm, co2_ppm0, solaire
16       REAL(kind=8) RCO2, RCH4, RN2O, RCFC11, RCFC12 
17       REAL(kind=8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act 
18       REAL(kind=8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt
19!IM ajout CFMIP2/CMIP5
20       REAL co2_ppm_per
21       REAL(kind=8) RCO2_per,RCH4_per,RN2O_per,RCFC11_per,RCFC12_per
22       REAL(kind=8) CH4_ppb_per,N2O_ppb_per,CFC11_ppt_per,CFC12_ppt_per
23
24!OM ---> correction du bilan d'eau global
25!OM Correction sur precip KE
26       REAL cvl_corr
27!OM Fonte calotte dans bilan eau
28       LOGICAL ok_lic_melt
29
30!IM simulateur ISCCP
31       INTEGER top_height, overlap
32!IM seuils cdrm, cdrh
33       REAL cdmmax, cdhmax
34!IM param. stabilite s/ terres et en dehors
35       REAL ksta, ksta_ter
36!IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH
37       LOGICAL ok_kzmin
38!IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif - 
39!                          pour regler l albedo sur ocean
40       REAL fmagic, pmagic
41! Hauteur (imposee) du contenu en eau du sol
42           REAL qsol0
43! Frottement au sol (Cdrag)
44       Real f_cdrag_ter,f_cdrag_oce
45! Rugoro
46       Real f_rugoro
47
48!IM lev_histhf  : niveau sorties 6h
49!IM lev_histday : niveau sorties journalieres
50!IM lev_histmth : niveau sorties mensuelles
51!IM lev_histdayNMC : on peut sortir soit sur 8 (comme AR5) ou bien
52!                    sur 17 niveaux de pression
53       INTEGER lev_histhf, lev_histday, lev_histmth
54       INTEGER lev_histdayNMC
55       Integer lev_histins, lev_histLES 
56!IM ok_histNMC  : sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC)
57!IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC)
58!IM freq_calNMC : frequences de calcul fis. hist*NMC.nc
59!IM pasphys : pas de temps de physique (secondes)
60       REAL pasphys
61       LOGICAL ok_histNMC(3)
62       REAL freq_outNMC(3) , freq_calNMC(3)
63       CHARACTER(len=4) type_run
64! aer_type: pour utiliser un fichier constant dans readaerosol
65       CHARACTER*8 :: aer_type
66       LOGICAL ok_isccp, ok_regdyn
67       REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
68       REAL ecrit_ins, ecrit_hf, ecrit_day
69       REAL ecrit_mth, ecrit_tra, ecrit_reg
70       REAL ecrit_LES
71       REAL freq_ISCCP, ecrit_ISCCP
72       REAL freq_COSP
73       LOGICAL :: ok_cosp,ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP
74       INTEGER :: ip_ebil_phy, iflag_rrtm
75       LOGICAL :: ok_strato
76       LOGICAL :: ok_hines
77
78       COMMON/clesphys/cycle_diurne, soil_model, new_oliq,              &
79     &     ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, iflag_con       &
80     &     , co2_ppm, solaire                                           &
81     &     , RCO2, RCH4, RN2O, RCFC11, RCFC12                           &
82     &     , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act       &
83     &     , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per       &
84     &     , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt                     &
85     &     , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per     &
86     &     , top_height, overlap, cdmmax, cdhmax, ksta, ksta_ter        &
87     &     , ok_kzmin, fmagic, pmagic                                   &
88     &     , f_cdrag_ter,f_cdrag_oce,f_rugoro                           &
89     &     , lev_histhf, lev_histday, lev_histmth                       &
90     &     , lev_histins, lev_histLES, lev_histdayNMC                   &
91     &     , pasphys, ok_histNMC, freq_outNMC, freq_calNMC              &
92     &     , type_run, ok_isccp, ok_regdyn, ok_cosp                     &
93     &     , ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP                     &
94     &     , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins             &
95     &     , ecrit_ins, ecrit_hf, ecrit_day                             &
96     &     , ecrit_mth, ecrit_tra, ecrit_reg                            &
97     &     , freq_ISCCP, ecrit_ISCCP, freq_COSP, ip_ebil_phy            &
98     &     , ok_lic_melt, cvl_corr, aer_type                            &
99     &     , qsol0, iflag_rrtm, ok_strato,ok_hines,ecrit_LES            &
100     &     , co2_ppm0
101     
102       save /clesphys/
103!$OMP THREADPRIVATE(/clesphys/)
104 
Note: See TracBrowser for help on using the repository browser.