Changeset 2709
- Timestamp:
- Jun 21, 2022, 11:05:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r2706 r2709 681 681 endif ! of if (txt.eq."h2o_ice") 682 682 683 ! generic Fe_vap (will need to add more species after)684 if (txt .eq. " generic_Fe_vap") then683 !Fe_vap 684 if (txt .eq. "Fe_vap") then 685 685 q(:,iq)=0. !kg/kg of atmosphere 686 686 qsurf(iq) = 0. !kg/kg of atmosphere … … 697 697 endif 698 698 close(91) 699 endif ! (txt .eq. " generic_Fe_vap")700 ! genericFe_ice701 if (txt .eq. " generic_Fe_ice") then699 endif ! (txt .eq. "Fe_vap") 700 !Fe_ice 701 if (txt .eq. "Fe_ice") then 702 702 q(:,iq)=0. !kg/kg of atmosphere 703 703 qsurf(iq) = 0. !kg/kg of atmosphere 704 704 endif ! we only initialize the solid at 0 705 !generic Cr_vap (will need to add more species after) 706 if (txt .eq. "generic_Cr_vap") then 707 q(:,iq)=0. !kg/kg of atmosphere 708 qsurf(iq) = 0. !kg/kg of atmosphere 709 ! Look for a "profile_Fe_vap" input file 705 706 ! Cr_vap 707 if (txt .eq. "Cr_vap") then 708 q(:,iq)=0. !kg/kg of atmosphere 709 qsurf(iq) = 0. !kg/kg of atmosphere 710 ! Look for a "profile_Cr_vap" input file 710 711 open(91,file='profile_Cr_vap',status='old', 711 712 & form="formatted",iostat=ierr) … … 719 720 endif 720 721 close(91) 721 endif ! (txt .eq. "generic_Cr_vap") 722 !generic Cr_ice 723 if (txt .eq. "generic_Cr_ice") then 722 endif ! (txt .eq. "Cr_vap") 723 !Cr_ice 724 if (txt .eq. "Cr_ice") then 725 q(:,iq)=0. !kg/kg of atmosphere 726 qsurf(iq) = 0. !kg/kg of atmosphere 727 endif ! we only initialize the solid at 0 728 729 ! Mg_vap 730 if (txt .eq. "Mg_vap") then 731 q(:,iq)=0. !kg/kg of atmosphere 732 qsurf(iq) = 0. !kg/kg of atmosphere 733 ! Look for a "profile_Mg_vap" input file 734 open(91,file='profile_Mg_vap',status='old', 735 & form="formatted",iostat=ierr) 736 if (ierr .eq. 0) then 737 read(91,*),qsurf(iq) 738 do ilayer=1,nlayer 739 read(91,*)q(ilayer,iq) 740 enddo 741 else 742 write(*,*),"No profile_Mg_vap file !" 743 endif 744 close(91) 745 endif ! (txt .eq. "Mg_vap") 746 !Mg_ice 747 if (txt .eq. "Mg_ice") then 748 q(:,iq)=0. !kg/kg of atmosphere 749 qsurf(iq) = 0. !kg/kg of atmosphere 750 endif ! we only initialize the solid at 0 751 752 ! Na_vap 753 if (txt .eq. "Na_vap") then 754 q(:,iq)=0. !kg/kg of atmosphere 755 qsurf(iq) = 0. !kg/kg of atmosphere 756 ! Look for a "profile_Na_vap" input file 757 open(91,file='profile_Na_vap',status='old', 758 & form="formatted",iostat=ierr) 759 if (ierr .eq. 0) then 760 read(91,*),qsurf(iq) 761 do ilayer=1,nlayer 762 read(91,*)q(ilayer,iq) 763 enddo 764 else 765 write(*,*),"No profile_Na_vap file !" 766 endif 767 close(91) 768 endif ! (txt .eq. Na_vap") 769 !Cr_ice 770 if (txt .eq. "Na_ice") then 771 q(:,iq)=0. !kg/kg of atmosphere 772 qsurf(iq) = 0. !kg/kg of atmosphere 773 endif ! we only initialize the solid at 0 774 ! KCl_vap 775 if (txt .eq. "KCl_vap") then 776 q(:,iq)=0. !kg/kg of atmosphere 777 qsurf(iq) = 0. !kg/kg of atmosphere 778 ! Look for a "profile_KCL_vap" input file 779 open(91,file='profile_KCl_vap',status='old', 780 & form="formatted",iostat=ierr) 781 if (ierr .eq. 0) then 782 read(91,*),qsurf(iq) 783 do ilayer=1,nlayer 784 read(91,*)q(ilayer,iq) 785 enddo 786 else 787 write(*,*),"No profile_KCl_vap file !" 788 endif 789 close(91) 790 endif ! (txt .eq. "KCl_vap") 791 !KCl_ice 792 if (txt .eq. "KCl_ice") then 793 q(:,iq)=0. !kg/kg of atmosphere 794 qsurf(iq) = 0. !kg/kg of atmosphere 795 endif ! we only initialize the solid at 0 796 797 ! Mn_vap 798 if (txt .eq. "Mn_vap") then 799 q(:,iq)=0. !kg/kg of atmosphere 800 qsurf(iq) = 0. !kg/kg of atmosphere 801 ! Look for a "profile_Mn_vap" input file 802 open(91,file='profile_Mn_vap',status='old', 803 & form="formatted",iostat=ierr) 804 if (ierr .eq. 0) then 805 read(91,*),qsurf(iq) 806 do ilayer=1,nlayer 807 read(91,*)q(ilayer,iq) 808 enddo 809 else 810 write(*,*),"No profile_Mn_vap file !" 811 endif 812 close(91) 813 endif ! (txt .eq. "Mn_vap") 814 !Mn_ice 815 if (txt .eq. "Mn_ice") then 816 q(:,iq)=0. !kg/kg of atmosphere 817 qsurf(iq) = 0. !kg/kg of atmosphere 818 endif ! we only initialize the solid at 0 819 820 ! Zn_vap 821 if (txt .eq. "Zn_vap") then 822 q(:,iq)=0. !kg/kg of atmosphere 823 qsurf(iq) = 0. !kg/kg of atmosphere 824 ! Look for a "profile_Zn_vap" input file 825 open(91,file='profile_Zn_vap',status='old', 826 & form="formatted",iostat=ierr) 827 if (ierr .eq. 0) then 828 read(91,*),qsurf(iq) 829 do ilayer=1,nlayer 830 read(91,*)q(ilayer,iq) 831 enddo 832 else 833 write(*,*),"No profile_Zn_vap file !" 834 endif 835 close(91) 836 endif ! (txt .eq. "Zn_vap") 837 !Zn_ice 838 if (txt .eq. "Zn_ice") then 724 839 q(:,iq)=0. !kg/kg of atmosphere 725 840 qsurf(iq) = 0. !kg/kg of atmosphere
Note: See TracChangeset
for help on using the changeset viewer.