- Timestamp:
- Feb 26, 2025, 10:41:29 AM (4 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/aerosol_mod.F90 ¶
r3632 r3650 75 75 STOP "No filename given for haze profile. Either set hazemmr_file or hazedens_file" 76 76 endif 77 78 if (is_master) then 79 if(.not.allocated(levdat)) then 80 allocate(levdat(Nfine)) 81 endif 82 if(.not.allocated(densdat)) then 83 allocate(densdat(Nfine)) 84 endif 77 !$OMP MASTER 78 if(.not.allocated(levdat)) then 79 allocate(levdat(Nfine)) 80 endif 81 if(.not.allocated(densdat)) then 82 allocate(densdat(Nfine)) 83 endif 85 84 86 85 87 88 89 90 91 92 93 94 endif 86 file_path=trim(datadir)//'/haze_prop/'//file_name 87 open(224,file=file_path,form='formatted') 88 do ifine=1,Nfine 89 read(224,*) levdat(ifine), densdat(ifine) 90 enddo 91 close(224) 92 print*, 'Read Haze profile: ',file_path 93 !$OMP END MASTER 95 94 !$OMP BARRIER 96 95 ENDIF -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/inifis_mod.F90 ¶
r3627 r3650 83 83 REAL SSUM 84 84 85 ! deprecated parameter 86 logical aerohaze 87 85 88 ! Initialize flags lunout, prt_level, debug (in print_control_mod) 86 89 CALL init_print_control … … 679 682 call getin_p("callmufi",callmufi) 680 683 if (is_master) write(*,*)" callmufi = ",callmufi 681 684 682 685 ! sanity check 683 686 if (callmufi.and.(.not.tracer)) then … … 686 689 stop 687 690 endif 688 691 689 692 if (is_master) write(*,*) "Path to microphysical config file?" 690 693 config_mufi='datagcm/microphysics/config.cfg' ! default value … … 701 704 call getin_p("aerfprop_file",aerfprop_file) 702 705 if (is_master) write(*,*) trim(rname)//" aerfprop_file = ",trim(aerfprop_file) 703 706 704 707 if (is_master) write(*,*) "Use haze production from CH4 photolysis or production rate?" 705 708 call_haze_prod_pCH4=.false. ! default value 706 709 call getin_p("call_haze_prod_pCH4",call_haze_prod_pCH4) 707 710 if (is_master) write(*,*)" call_haze_prod_pCH4 = ",call_haze_prod_pCH4 708 711 709 712 if (is_master) write(*,*) "Pressure level of aerosols production (Pa)?" 710 713 haze_p_prod=1.0e-2 ! default value 711 714 call getin_p("haze_p_prod",haze_p_prod) 712 715 if (is_master) write(*,*)" haze_p_prod = ",haze_p_prod 713 716 714 717 if (is_master) write(*,*) "Aerosol production rate (kg.m-2.s-1)?" 715 718 haze_tx_prod=9.8e-14 ! default value 716 719 call getin_p("haze_tx_prod",haze_tx_prod) 717 720 if (is_master) write(*,*)" haze_tx_prod = ",haze_tx_prod 718 721 719 722 if (is_master) write(*,*) "Equivalent radius production (m)?" 720 723 haze_rc_prod=1.0e-9 ! default value 721 724 call getin_p("haze_rc_prod",haze_rc_prod) 722 725 if (is_master) write(*,*)" haze_rc_prod = ",haze_rc_prod 723 726 724 727 if (is_master) write(*,*) "Monomer radius (m)?" 725 728 haze_rm=1.0e-8 ! default value 726 729 call getin_p("haze_rm",haze_rm) 727 730 if (is_master) write(*,*)" haze_rm = ",haze_rm 728 731 729 732 if (is_master) write(*,*) "Aerosol's fractal dimension?" 730 733 haze_df=2.0 ! default value 731 734 call getin_p("haze_df",haze_df) 732 735 if (is_master) write(*,*)" haze_df = ",haze_df 733 736 734 737 if (is_master) write(*,*) "Aerosol density (kg.m-3)?" 735 738 haze_rho=800.0 ! default value 736 739 call getin_p("haze_rho",haze_rho) 737 740 if (is_master) write(*,*)" haze_rho = ",haze_rho 738 741 739 742 if (is_master) write(*,*) "Radius of air molecule (m)?" 740 743 air_rad=1.75e-10 ! default value 741 744 call getin_p("air_rad",air_rad) 742 745 if (is_master) write(*,*)" air_rad = ",air_rad 743 746 744 747 ! Pluto haze model 745 748 ! ~~~~~~~~~~~~~~~~ … … 794 797 if (is_master)write(*,*)trim(rname)//& 795 798 "optichaze = ",optichaze 799 800 aerohaze=.false. ! default value 801 call getin_p("aerohaze",aerohaze) 802 if (aerohaze) then 803 if (is_master) write(*,*)trim(rname)//": aerohaze is deprecated.",& 804 "it is now called optichaze=.true." 805 call abort_physic(rname,"aerohaze is deprecated. It is now called optichaze",1) 806 endif 796 807 797 808 if (is_master)write(*,*)trim(rname)//& -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/interp_line.F ¶
r3184 r3650 9 9 ! extrapolation, y2() is set to the value y1() corresponding to 10 10 ! the nearby x1(:) point 11 ! 11 ! 12 12 c----------------------------------------------------------------------- 13 13 ! arguments … … 25 25 ! local variables: 26 26 integer i,j 27 27 28 28 29 29 do i=1,len2
Note: See TracChangeset
for help on using the changeset viewer.