Changeset 3340 for LMDZ5/branches/IPSLCM5A2.1
- Timestamp:
- Jun 1, 2018, 5:52:22 PM (6 years ago)
- Location:
- LMDZ5/branches/IPSLCM5A2.1/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/IPSLCM5A2.1/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.F90
r2601 r3340 108 108 INTEGER :: iflag_radia, iflag_cldcon, iflag_ratqs 109 109 REAL :: ratqsbas, ratqshaut, tau_ratqs 110 LOGICAL :: ok_ade, ok_aie, ok_cdnc, aerosol_couple 110 LOGICAL :: ok_ade, ok_aie, ok_cdnc 111 LOGICAL :: aerosol_couple, chemistry_couple 111 112 INTEGER :: flag_aerosol 112 113 INTEGER :: flag_aerosol_strat … … 123 124 ! Physics configuration 124 125 !******************************************************************************* 125 CALL conf_phys( ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES, &126 callstats, &127 solarlong0,seuil_inversion, &128 fact_cldcon, facttemps,ok_newmicro,iflag_radia, &129 iflag_cldcon, &130 iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, &131 ok_ade, ok_aie, ok_cdnc, aerosol_couple, 132 flag_aerosol, flag_aerosol_strat, new_aod, &133 bl95_b0, bl95_b1, &134 read_climoz, &126 CALL conf_phys( ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES, & 127 callstats, & 128 solarlong0,seuil_inversion, & 129 fact_cldcon, facttemps,ok_newmicro,iflag_radia, & 130 iflag_cldcon, & 131 iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & 132 ok_ade, ok_aie, ok_cdnc, aerosol_couple, chemistry_couple & 133 flag_aerosol, flag_aerosol_strat, new_aod, & 134 bl95_b0, bl95_b1, & 135 read_climoz, & 135 136 alp_offset) 136 137 CALL phys_state_var_init(read_climoz) -
LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/conf_phys_m.F90
r2580 r3340 17 17 iflag_cld_th, & 18 18 iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & 19 ok_ade, ok_aie, ok_cdnc, aerosol_couple, &19 ok_ade, ok_aie, ok_cdnc, aerosol_couple, chemistry_couple, & 20 20 flag_aerosol, flag_aerosol_strat, new_aod, & 21 21 bl95_b0, bl95_b1,& … … 74 74 logical :: ok_LES 75 75 LOGICAL :: callstats 76 LOGICAL :: ok_ade, ok_aie, ok_cdnc, aerosol_couple 76 LOGICAL :: ok_ade, ok_aie, ok_cdnc 77 LOGICAL :: aerosol_couple, chemistry_couple 77 78 INTEGER :: flag_aerosol 78 79 INTEGER :: flag_aerosol_strat … … 92 93 logical,SAVE :: ok_LES_omp 93 94 LOGICAL,SAVE :: callstats_omp 94 LOGICAL,SAVE :: ok_ade_omp, ok_aie_omp, ok_cdnc_omp, aerosol_couple_omp 95 LOGICAL,SAVE :: ok_ade_omp, ok_aie_omp, ok_cdnc_omp 96 LOGICAL, SAVE :: aerosol_couple_omp, chemistry_couple_omp 95 97 INTEGER, SAVE :: flag_aerosol_omp 96 98 INTEGER, SAVE :: flag_aerosol_strat_omp … … 370 372 aerosol_couple_omp = .false. 371 373 CALL getin('aerosol_couple',aerosol_couple_omp) 374 ! 375 !Config Key = chemistry_couple 376 !Config Desc = read chemistry in file or calcul by inca 377 !Config Def = .FALSE. 378 !Config Help = Used in physiq.F 379 ! 380 chemistry_couple_omp = .FALSE. 381 CALL getin('chemistry_couple',chemistry_couple_omp) 372 382 ! 373 383 !Config Key = flag_aerosol … … 2134 2144 ok_cdnc = ok_cdnc_omp 2135 2145 aerosol_couple = aerosol_couple_omp 2146 chemistry_couple = chemistry_couple_omp 2136 2147 flag_aerosol=flag_aerosol_omp 2137 2148 flag_aerosol_strat=flag_aerosol_strat_omp … … 2307 2318 CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if ok_cdnc is activated ', 1) 2308 2319 ENDIF 2320 2321 ! Read_climoz need to be zero if we are in couple mode for chemistry 2322 IF (chemistry_couple .AND. read_climoz .ne. 0) THEN 2323 CALL abort_physic('conf_phys', 'read_climoz need to be to zero if chemistry_couple=y ', 1) 2324 ENDIF 2325 2309 2326 2310 2327 ! ok_cdnc must be set to y if ok_aie is activated … … 2417 2434 write(lunout,*)' ok_aie = ',ok_aie 2418 2435 write(lunout,*)' aerosol_couple = ', aerosol_couple 2436 write(lunout,*)' chemistry_couple = ', chemistry_couple 2419 2437 write(lunout,*)' flag_aerosol = ', flag_aerosol 2420 2438 write(lunout,*)' flag_aerosol_strat = ', flag_aerosol_strat -
LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/physiq_mod.F90
r2914 r3340 983 983 ! false : lecture des aerosol dans un fichier 984 984 !$OMP THREADPRIVATE(aerosol_couple) 985 LOGICAL, SAVE :: chemistry_couple ! true : use INCA chemistry O3 / false : use offline chemistry O3 986 !$OMP THREADPRIVATE(chemistry_couple) 985 987 INTEGER, SAVE :: flag_aerosol 986 988 !$OMP THREADPRIVATE(flag_aerosol) … … 1142 1144 fact_cldcon, facttemps,ok_newmicro,iflag_radia, & 1143 1145 iflag_cld_th,iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & 1144 ok_ade, ok_aie, ok_cdnc, aerosol_couple, &1146 ok_ade, ok_aie, ok_cdnc, aerosol_couple, chemistry_couple, & 1145 1147 flag_aerosol, flag_aerosol_strat, new_aod, & 1146 1148 bl95_b0, bl95_b1, & … … 1588 1590 date0, & 1589 1591 io_lon, & 1590 io_lat) 1592 io_lat, & 1593 chemistry_couple) 1591 1594 1592 1595 CALL VTe(VTinca) … … 3755 3758 #ifdef INCA 3756 3759 CALL radlwsw_inca & 3757 ( kdlon,kflev,dist, rmu0, fract, solaire, &3760 (chemistry_couple, kdlon,kflev,dist, rmu0, fract, solaire, & 3758 3761 paprs, pplay,zxtsol,albsol1, albsol2, t_seri,q_seri, & 3759 3762 size(wo,3), wo(:, :, 1), &
Note: See TracChangeset
for help on using the changeset viewer.