Changeset 2954
- Timestamp:
- May 2, 2023, 4:58:20 PM (20 months ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r2899 r2954 1786 1786 More code tidying: turn aeropacity, aeroptproperties, gfluxi, gfluxv, 1787 1787 sfluxi and sfluxv into modules. 1788 1789 == 02/05/2023 == EM 1790 Improve diagnostics given by callcorrk (get min/max over whole globe, not 1791 just over the master domain). 1792 While at it also moved "Nmix_co2" and "radfixed" from callkeys_mod to radii_mod 1793 since they are only used in that module. -
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r2899 r2954 48 48 use generic_cloud_common_h, only: Psat_generic, epsi_generic 49 49 use generic_tracer_index_mod, only: generic_tracer_index 50 use planetwide_mod, only: planetwide_maxval, planetwide_minval 50 51 implicit none 51 52 … … 220 221 !$OMP THREADPRIVATE(qvap_deep) 221 222 223 REAL :: maxvalue,minvalue 224 222 225 !=============================================================== 223 226 ! I.a Initialization on first call … … 449 452 if ((iaer.eq.iaero_co2).and.tracer.and.(igcm_co2_ice.gt.0)) then ! Treat condensed co2 particles. 450 453 call co2_reffrad(ngrid,nlayer,nq,pq,reffrad(1,1,iaero_co2)) 454 455 call planetwide_maxval(reffrad(:,:,iaero_co2),maxvalue) 456 call planetwide_minval(reffrad(:,:,iaero_co2),minvalue) 451 457 if (is_master) then 452 print*,'Max. CO2 ice particle size = ',maxval (reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um'453 print*,'Min. CO2 ice particle size = ',minval (reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um'458 print*,'Max. CO2 ice particle size = ',maxvalue/1.e-6,' um' 459 print*,'Min. CO2 ice particle size = ',minvalue/1.e-6,' um' 454 460 end if 455 461 end if … … 458 464 call h2o_reffrad(ngrid,nlayer,pq(1,1,igcm_h2o_ice),pt, & 459 465 reffrad(1,1,iaero_h2o),nueffrad(1,1,iaero_h2o)) 466 467 call planetwide_maxval(reffrad(:,:,iaero_h2o),maxvalue) 468 call planetwide_minval(reffrad(:,:,iaero_h2o),minvalue) 460 469 if (is_master) then 461 print*,'Max. H2O cloud particle size = ',maxval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 462 print*,'Min. H2O cloud particle size = ',minval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 470 print*,'Max. H2O cloud particle size = ',maxvalue/1.e-6,' um' 471 print*,'Min. H2O cloud particle size = ',minvalue/1.e-6,' um' 472 end if 473 474 call planetwide_maxval(nueffrad(:,:,iaero_h2o),maxvalue) 475 call planetwide_minval(nueffrad(:,:,iaero_h2o),minvalue) 476 if (is_master) then 477 print*,'Max. H2O cloud particle variance = ',maxvalue 478 print*,'Min. H2O cloud particle variance = ',minvalue 463 479 end if 464 480 endif -
trunk/LMDZ.GENERIC/libf/phystd/callkeys_mod.F90
r2871 r2954 37 37 logical,save :: varactive 38 38 logical,save :: varfixed 39 logical,save :: radfixed40 39 logical,save :: sedimentation 41 40 logical,save :: generic_condensation 42 41 logical,save :: generic_rain 43 !$OMP THREADPRIVATE(varactive,varfixed, radfixed,sedimentation,generic_condensation,generic_rain)42 !$OMP THREADPRIVATE(varactive,varfixed,sedimentation,generic_condensation,generic_rain) 44 43 logical,save :: water ,watercond, waterrain, moistadjustment 45 44 !$OMP THREADPRIVATE(water, watercond, waterrain, moistadjustment) … … 104 103 !$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck) 105 104 real,save :: topdustref 106 real,save :: Nmix_co2107 105 real,save :: dusttau 108 106 real,save :: Fat1AU 109 107 real,save :: stelTbb 110 !$OMP THREADPRIVATE(topdustref, Nmix_co2,dusttau,Fat1AU,stelTbb)108 !$OMP THREADPRIVATE(topdustref,dusttau,Fat1AU,stelTbb) 111 109 real,save :: Tstrat 112 110 real,save :: tplanet -
trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90
r2831 r2954 11 11 use init_print_control_mod, only: init_print_control 12 12 use radinc_h, only: ini_radinc_h, naerkind 13 use radii_mod, only: radfixed, Nmix_co2 13 14 use datafile_mod, only: datadir 14 15 use comdiurn_h, only: sinlat, coslat, sinlon, coslon -
trunk/LMDZ.GENERIC/libf/phystd/radii_mod.F90
r2831 r2954 3 3 !================================================================== 4 4 ! module to centralize the radii calculations for aerosols 5 ! OK for water but should be extended to other aerosols (CO2,...)6 5 !================================================================== 7 6 8 ! water cloud optical properties 9 10 use callkeys_mod, only: radfixed,Nmix_co2 11 7 ! CO2 cloud properties (initialized in inifis) 8 real,save :: Nmix_co2 ! Number mixing ratio of CO2 ice particles 9 10 ! flag to specify if we assume a constant fixed radius for particles 11 logical,save :: radfixed ! initialized in inifis 12 13 ! water cloud optical properties (initialized in su_aer_radii below) 12 14 real, save :: rad_h2o 13 15 real, save :: rad_h2o_ice
Note: See TracChangeset
for help on using the changeset viewer.