Changeset 3572 for trunk/LMDZ.PLUTO/libf/phypluto/initracer.F90
- Timestamp:
- Jan 13, 2025, 2:52:33 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/initracer.F90
r3557 r3572 3 3 use surfdat_h, ONLY: dryness 4 4 USE tracer_h 5 USE callkeys_mod, only: aerohaze,nb_monomer,haze,fractal,fasthaze,rad_haze,callmufi5 USE callkeys_mod, only: optichaze,nb_monomer,haze,fractal,fasthaze,rad_haze,callmufi 6 6 USE recombin_corrk_mod, ONLY: ini_recombin 7 7 USE mod_phys_lmdz_para, only: is_master, bcast 8 use generic_cloud_common_h9 8 use aerosol_mod, only: iaero_haze,i_haze 10 9 IMPLICIT NONE … … 130 129 IF (.NOT. allocated(constants_Tref)) allocate(constants_Tref(nq)) 131 130 IF (.NOT. allocated(constants_Pref)) allocate(constants_Pref(nq)) 132 IF (.NOT. allocated(constants_epsi_generic)) allocate(constants_epsi_generic(nq))133 131 IF (.NOT. allocated(constants_RLVTT_generic)) allocate(constants_RLVTT_generic(nq)) 134 IF (.NOT. allocated(constants_metallicity_coeff)) allocate(constants_metallicity_coeff(nq))135 132 IF (.NOT. allocated(constants_RCPV_generic)) allocate(constants_RCPV_generic(nq)) 136 133 … … 160 157 constants_Tref(:)=0 161 158 constants_Pref(:)=0 162 constants_epsi_generic(:)=0163 159 constants_RLVTT_generic(:)=0 164 constants_metallicity_coeff(:)=0165 160 constants_RCPV_generic(:)=0 166 161 … … 418 413 ! constants_Tref(iq)=Tref 419 414 ! constants_Pref(iq)=Pref 420 ! constants_epsi_generic(iq)=epsi_generic421 415 ! constants_RLVTT_generic(iq)=RLVTT_generic 422 ! constants_metallicity_coeff(iq)=metallicity_coeff423 416 ! constants_RCPV_generic(iq)=RCPV_generic 424 417 else … … 477 470 478 471 ia=0 479 if ( aerohaze) then480 481 482 483 484 485 486 487 488 489 490 491 492 472 if (optichaze) then 473 ia=ia+1 474 iaero_haze=ia 475 write(*,*) '--- number of haze aerosol = ', iaero_haze 476 477 block=0 ! Only one type of haze is active : the first one set in traceur.def 478 do iq=1,nq 479 tracername=noms(iq) 480 write(*,*) "--> tracername ",iq,'/',nq,' = ',tracername 481 if (tracername(1:4).eq."haze".and.block.eq.0) then 482 i_haze=iq 483 block=1 484 write(*,*) "i_haze=",i_haze 485 write(*,*) "Careful: if you set many haze traceurs in & 493 486 traceur.def,only ",tracername," will be radiatively active & 494 487 (first one in traceur.def)" 495 496 497 endif ! end aerohaze498 endif ! end haze488 endif 489 enddo 490 endif ! end optichaze 491 endif ! end callmufi or haze 499 492 500 493 ! Output for records:
Note: See TracChangeset
for help on using the changeset viewer.