source: LMDZ6/trunk/libf/phylmd/clesphys_mod_h.f90 @ 6053

Last change on this file since 6053 was 6053, checked in by evignon, 3 weeks ago

corrections dans la routine simplehydrol et ajout de diagnostiques
pour quantifier les flux d'eau liés à la fonte de la neige sur les surfaces
englacees

  • 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
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.2 KB
Line 
1! Replaces clesphys.h
2
3MODULE clesphys_mod_h
4  IMPLICIT NONE; PRIVATE
5
6  PUBLIC :: co2_ppm, solaire                                           &
7          , RCO2, RCH4, RN2O                                           &
8          , RCFC11, RCFC12                                             &
9          , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act       &
10          , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per       &
11          , CH4_ppb, N2O_ppb, CH4_eff_ppb, N2O_eff_ppb                 &
12          , CFC11_ppt, CFC12_ppt                                       &
13          , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per     &
14          , cdmmax, cdhmax, ksta, ksta_ter, f_ri_cd_min                    &
15          , fmagic, pmagic                                                 &
16          , f_cdrag_ter, f_cdrag_oce, f_rugoro, z0min, tau_gl              &
17          , min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce   &
18          , z0m_seaice, z0h_seaice, z0m_landice, ratio_z0hz0m_landice  &
19          , freq_outNMC, freq_calNMC                                   &
20          , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins             &
21          , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS              &
22          , cvl_corr                                                   &
23          , qsol0, albsno0, evap0                                      &
24          , co2_ppm0                                                   &
25          , tau_thermals                                               &
26          , Cd_frein, nm_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t &
27          , ecrit_LES                                                  &
28          , ecrit_ins, ecrit_hf, ecrit_day                             &
29          , ecrit_mth, ecrit_tra, ecrit_reg                            &
30          , top_height                                                 &
31          , iflag_cycle_diurne, soil_model, liqice_in_radocond         &
32          , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad                &
33          , iflag_con, nbapp_cv, nbapp_wk                              &
34          , choix_bulk, nit_bulk, kz0                                  &
35          , iflag_ener_conserv                                         &
36          , ok_suntime_rrtm                                            &
37          , overlap                                                    &
38          , ok_kzmin, ok_advtke                                        &
39          , lev_histhf, lev_histday, lev_histmth                       &
40          , lev_histins, lev_histLES                                   &
41          , type_run, ok_regdyn, ok_cosp, ok_airs                      &
42          , ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP                   &
43          , ip_ebil_phy                                                &
44          , iflag_gusts, iflag_z0_oce                                  &
45          , ok_lic_melt, ok_lic_cond, chasno_tun, forc_ts_melt, aer_type &
46          , iflag_rrtm, ok_strato, ok_hines, ok_qch4                   &
47          , iflag_ice_thermo, ok_ice_supersat                          &
48          , ok_plane_h2o, ok_plane_contrail                            &
49          , ok_gwd_rando, NSW, iflag_albedo                            &
50          , ok_chlorophyll, ok_conserv_q, adjust_tropopause            &
51          , ok_daily_climoz, ok_all_xml, ok_lwoff                      &
52          , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs               &
53          , iflag_thermals, nsplit_thermals                            &
54          , iflag_physiq, ok_3Deffect, ok_water_mass_fixer             &
55          , ok_mass_dtcon, ok_mass_dqcon, ok_mass_duvcon, iflag_tropopause_height
56
57
58  ! threshold on to activate SSO schemes
59  REAL nm_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t
60  INTEGER iflag_cycle_diurne
61  LOGICAL soil_model, liqice_in_radocond, ok_orodr, ok_orolf
62  LOGICAL ok_limitvrai
63  LOGICAL ok_all_xml
64  LOGICAL ok_lwoff
65  INTEGER nbapp_rad, iflag_con, nbapp_cv, nbapp_wk, iflag_ener_conserv
66  REAL co2_ppm, co2_ppm0, solaire
67  INTEGER iflag_thermals, nsplit_thermals
68  INTEGER iflag_physiq
69  REAL tau_thermals
70  REAL chasno_tun
71
72  !FC
73  REAL Cd_frein
74  LOGICAL ok_suntime_rrtm
75  REAL(kind = 8) RCO2, RCH4, RN2O, RCFC11, RCFC12
76  REAL(kind = 8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act
77  REAL(kind = 8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt
78  ! PC mass mixing ratios for "effective" CH4 & "effective" N2O
79  REAL(kind = 8) CH4_eff_ppb, N2O_eff_ppb
80  !IM ajout CFMIP2/CMIP5ok_bs
81  REAL(kind = 8) RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per
82  REAL(kind = 8) CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per
83
84  !OM ---> correction du bilan d'eau global
85  !OM Correction sur precip KE
86  REAL cvl_corr
87  !OM Fonte calotte dans bilan eau
88  LOGICAL ok_lic_melt
89  ! impose surface temperature during snow melting
90  LOGICAL forc_ts_melt
91  !OB Depot de vapeur d eau sur la calotte pour le bilan eau
92  LOGICAL ok_lic_cond
93
94  !IM simulateur ISCCP
95  INTEGER top_height, overlap
96  !IM seuils cdrm, cdrh
97  REAL cdmmax, cdhmax
98  !IM pour les params différentes Olivier Torres
99  INTEGER choix_bulk, nit_bulk, kz0
100  !IM param. stabilite s/ terres et en dehors
101  REAL ksta, ksta_ter, f_ri_cd_min
102  !IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH
103  LOGICAL ok_kzmin
104  !IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif -
105  !                          pour regler l albedo sur ocean
106  REAL fmagic, pmagic
107  ! Hauteur (imposee) du contenu en eau du sol
108  REAL qsol0, albsno0, evap0
109  ! Frottement au sol (Cdrag)
110  Real f_cdrag_ter, f_cdrag_oce
111  REAL min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce
112  REAL z0m_seaice, z0h_seaice
113  REAL z0m_landice, ratio_z0hz0m_landice
114  INTEGER iflag_gusts, iflag_z0_oce
115
116  ! Rugoro
117  Real f_rugoro, z0min
118
119  ! tau_gl : constante de rappel de la temperature a la surface de la glace
120  REAL tau_gl
121
122  !IM lev_histhf  : niveau sorties 6h
123  !IM lev_histday : niveau sorties journalieres
124  !IM lev_histmth : niveau sorties mensuelles
125  INTEGER lev_histhf, lev_histday, lev_histmth
126  Integer lev_histins, lev_histLES
127  !IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC)
128  !IM freq_calNMC : frequences de calcul fis. hist*NMC.nc
129  REAL freq_outNMC(10), freq_calNMC(10)
130  CHARACTER(len = 4) type_run
131  ! aer_type: pour utiliser un fichier constant dans readaerosol
132  CHARACTER(len = 8) :: aer_type
133  LOGICAL ok_regdyn
134  REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
135  REAL ecrit_ins, ecrit_hf, ecrit_day
136  REAL ecrit_mth, ecrit_tra, ecrit_reg
137  REAL ecrit_LES
138  REAL freq_ISCCP, ecrit_ISCCP
139  REAL freq_COSP, freq_AIRS
140  LOGICAL :: ok_cosp, ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP
141  LOGICAL :: ok_airs
142  INTEGER :: ip_ebil_phy, iflag_rrtm, iflag_ice_thermo, NSW, iflag_albedo
143  LOGICAL :: ok_ice_supersat, ok_plane_h2o, ok_plane_contrail
144  LOGICAL :: ok_chlorophyll
145  LOGICAL :: ok_strato
146  LOGICAL :: ok_hines, ok_gwd_rando
147  LOGICAL :: ok_qch4
148  LOGICAL :: ok_conserv_q
149  LOGICAL :: adjust_tropopause
150  LOGICAL :: ok_daily_climoz
151  LOGICAL :: ok_new_lscp
152  LOGICAL :: ok_bs, ok_rad_bs
153  LOGICAL :: ok_advtke
154  ! flag to bypass or not the phytrac module
155  INTEGER :: iflag_phytrac
156
157  !AI flags pour ECRAD
158  LOGICAL :: ok_3Deffect
159
160  !OB flag to activate water mass fixer in physiq
161  LOGICAL :: ok_water_mass_fixer
162
163  ! for conservation when calling deep convection every n time steps
164  LOGICAL :: ok_mass_dtcon, ok_mass_dqcon, ok_mass_duvcon
165
166  ! flag pour le choix du calcul de tropopause pour l'ozone
167  INTEGER :: iflag_tropopause_height
168
169
170  !$OMP THREADPRIVATE(co2_ppm, solaire                                    &
171  !$OMP      , RCO2, RCH4, RN2O                                           &
172  !$OMP      , RCFC11, RCFC12                                             &
173  !$OMP      , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act       &
174  !$OMP      , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per       &
175  !$OMP      , CH4_ppb, N2O_ppb, CH4_eff_ppb, N2O_eff_ppb                 &
176  !$OMP      , CFC11_ppt, CFC12_ppt                                       &
177  !$OMP      , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per     &
178  !$OMP      , cdmmax, cdhmax, ksta, ksta_ter, f_ri_cd_min                &
179  !$OMP      , fmagic, pmagic                                             &
180  !$OMP      , f_cdrag_ter, f_cdrag_oce, f_rugoro, z0min, tau_gl              &
181  !$OMP      , min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce   &
182  !$OMP      , z0m_seaice, z0h_seaice, z0m_landice, ratio_z0hz0m_landice  &
183  !$OMP      , freq_outNMC, freq_calNMC                                   &
184  !$OMP      , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins             &
185  !$OMP      , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS              &
186  !$OMP      , cvl_corr                                                   &
187  !$OMP      , qsol0, albsno0, evap0                                      &
188  !$OMP      , co2_ppm0                                                   &
189  !$OMP      , tau_thermals                                               &
190  !$OMP      , Cd_frein, nm_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t &
191  !$OMP      , ecrit_LES                                                  &
192  !$OMP      , ecrit_ins, ecrit_hf, ecrit_day                             &
193  !$OMP      , ecrit_mth, ecrit_tra, ecrit_reg                            &
194  !$OMP      , top_height                                                 &
195  !$OMP      , iflag_cycle_diurne, soil_model, liqice_in_radocond         &
196  !$OMP      , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad                &
197  !$OMP      , iflag_con, nbapp_cv, nbapp_wk                              &
198  !$OMP      , choix_bulk, nit_bulk, kz0                                  &
199  !$OMP      , iflag_ener_conserv                                         &
200  !$OMP      , ok_suntime_rrtm                                            &
201  !$OMP      , overlap                                                    &
202  !$OMP      , ok_kzmin, ok_advtke                                        &
203  !$OMP      , lev_histhf, lev_histday, lev_histmth                       &
204  !$OMP      , lev_histins, lev_histLES                                   &
205  !$OMP      , type_run, ok_regdyn, ok_cosp, ok_airs                      &
206  !$OMP      , ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP                     &
207  !$OMP      , ip_ebil_phy                                                &
208  !$OMP      , iflag_gusts, iflag_z0_oce                                  &
209  !$OMP      , ok_lic_melt, ok_lic_cond, chasno_tun, forc_ts_melt, aer_type  &
210  !$OMP      , iflag_rrtm, ok_strato, ok_hines, ok_qch4                    &
211  !$OMP      , iflag_ice_thermo, ok_ice_supersat                            &
212  !$OMP      , ok_plane_h2o, ok_plane_contrail                            &
213  !$OMP      , ok_gwd_rando, NSW, iflag_albedo                            &
214  !$OMP      , ok_chlorophyll, ok_conserv_q, adjust_tropopause             &
215  !$OMP      , ok_daily_climoz, ok_all_xml, ok_lwoff                      &
216  !$OMP      , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs               &
217  !$OMP      , iflag_thermals, nsplit_thermals              &
218  !$OMP      , iflag_physiq, ok_3Deffect, ok_water_mass_fixer             &
219  !$OMP      , ok_mass_dtcon, ok_mass_dqcon, ok_mass_duvcon, iflag_tropopause_height )
220
221END MODULE clesphys_mod_h
Note: See TracBrowser for help on using the repository browser.