Changeset 4055 for trunk/LMDZ.GENERIC/libf/phygeneric/sugas_corrk.F90
- Timestamp:
- Feb 6, 2026, 10:20:21 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phygeneric/sugas_corrk.F90
r3893 r4055 34 34 use ioipsl_getin_p_mod, only: getin_p 35 35 use callkeys_mod, only: varactive,varfixed,graybody,callgasvis,& 36 continuum ,generic_continuum_database36 continuum 37 37 use tracer_h, only : nqtot, moderntracdef, is_recomb, noms 38 38 use recombin_corrk_mod, only: su_recombin, & … … 62 62 63 63 double precision testcont ! for continuum absorption initialisation 64 65 integer :: dummy66 64 67 65 if (.not. moderntracdef) use_premix=.true. ! Added by JVO for compatibility with 'old' traceur.def … … 717 715 ! Initialise the continuum absorption data 718 716 if(continuum)then 719 if(generic_continuum_database)then717 720 718 do igas=1,ngasmx ! we loop on all pairs of molecules that have data available 721 719 ! data can be downloaded from https://web.lmd.jussieu.fr/~lmdz/planets/generic/datagcm/continuum_data/ … … 806 804 enddo ! igas=1,ngasmx 807 805 808 else ! generic_continuum_database tag809 do igas=1,ngasmx810 if (igas .eq. igas_N2) then811 812 dummy = -9999813 call interpolateN2N2(100.D+0,250.D+0,17500.D+0,testcont,.true.,dummy)814 815 elseif (igas .eq. igas_H2) then816 817 ! first do self-induced absorption818 dummy = -9999819 call interpolateH2H2(500.D+0,250.D+0,17500.D+0,testcont,.true.,dummy)820 ! then cross-interactions with other gases821 do jgas=1,ngasmx822 if (jgas .eq. igas_N2) then823 dummy = -9999824 call interpolateN2H2(592.D+0,278.15D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)825 elseif (jgas .eq. igas_CO2) then826 dummy = -9999827 call interpolateCO2H2(592.D+0,278.15D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)828 elseif (jgas .eq. igas_He) then829 dummy = -9999830 call interpolateH2He(500.D+0,250.D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)831 endif832 enddo833 834 835 elseif (igas .eq. igas_CH4) then836 837 ! first do self-induced absorption838 dummy = -9999839 call interpolateCH4CH4(600.0,66.7,400.0,testcont,.true.,dummy)840 ! then cross-interactions with other gases841 do jgas=1,ngasmx842 if (jgas .eq. igas_H2) then843 dummy = -9999844 call interpolateH2CH4(500.D+0,250.D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)845 elseif (jgas .eq. igas_CO2) then846 dummy = -9999847 call interpolateCO2CH4(592.D+0,278.15D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)848 elseif (jgas .eq. igas_He) then849 dummy = -9999850 call interpolateHeCH4(500.D+0,250.D+0,200000.D+0,10000.D+0,testcont,.true.,dummy)851 endif852 enddo853 854 855 elseif (igas .eq. igas_H2O) then856 857 ! Compute self and foreign (with air) continuum of H2O858 dummy = -9999859 call interpolateH2O_self_foreign(990.D+0,296.D+0,683.2D+0*2,0.D+0,testcont,.true.,dummy)860 861 endif862 863 enddo ! igas=1,ngasmx864 endif ! generic_continuum_database tag865 806 endif ! continuum flag 866 807
Note: See TracChangeset
for help on using the changeset viewer.
