Changeset 2520 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- May 12, 2021, 2:45:26 PM (4 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 1 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/callkeys_mod.F90
r2482 r2520 10 10 logical,save :: callstats,calleofdump 11 11 !$OMP THREADPRIVATE(callstats,calleofdump) 12 logical,save :: callgasvis,continuum, H2Ocont_simple,graybody13 !$OMP THREADPRIVATE(callgasvis,continuum, H2Ocont_simple,graybody)12 logical,save :: callgasvis,continuum,graybody 13 !$OMP THREADPRIVATE(callgasvis,continuum,graybody) 14 14 logical,save :: strictboundcorrk 15 15 !$OMP THREADPRIVATE(strictboundcorrk) -
trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90
r2482 r2520 265 265 call getin_p("continuum",continuum) 266 266 write(*,*) " continuum = ",continuum 267 268 write(*,*) "use analytic function for H2O continuum ?"269 H2Ocont_simple=.false. ! default value270 call getin_p("H2Ocont_simple",H2Ocont_simple)271 write(*,*) " H2Ocont_simple = ",H2Ocont_simple272 267 273 268 write(*,*) "version for H2H2 CIA file ?" -
trunk/LMDZ.GENERIC/libf/phystd/optci.F90
r2133 r2520 14 14 use gases_h, only: gfrac, ngasmx, igas_N2, igas_He, igas_H2O, igas_H2 15 15 use comcstfi_mod, only: g, r, mugaz 16 use callkeys_mod, only: kastprof,continuum,graybody ,H2Ocont_simple16 use callkeys_mod, only: kastprof,continuum,graybody 17 17 implicit none 18 18 … … 205 205 enddo 206 206 207 elseif(igas.eq.igas_H2O.and.T_cont.gt. 200.0)then208 207 elseif(igas.eq.igas_H2O.and.T_cont.gt.100.0)then 208 ! Compute self and foreign (with air) continuum of H2O 209 209 p_air = dble(PMID(k)*scalep) - p_cont ! note assumes background is air! 210 if(H2Ocont_simple)then 211 call interpolateH2Ocont_PPC(wn_cont,T_cont,p_cont,p_air,dtemp,.false.) 212 else 213 interm = indi(nw,igas,igas) 214 call interpolateH2Ocont_CKD(wn_cont,T_cont,p_cont,p_air,dtemp,.false.,interm) 215 indi(nw,igas,igas) = interm 216 endif 210 interm = indi(nw,igas,igas) 211 call interpolateH2O_self_foreign(wn_cont,T_cont,p_cont,p_air,dtemp,.false.,interm) ! MTCKD v3.3 212 indi(nw,igas,igas) = interm 217 213 218 214 endif -
trunk/LMDZ.GENERIC/libf/phystd/optcv.F90
r2133 r2520 13 13 use gases_h, only: gfrac, ngasmx, igas_H2, igas_H2O, igas_He, igas_N2 14 14 use comcstfi_mod, only: g, r, mugaz 15 use callkeys_mod, only: kastprof,continuum,graybody, H2Ocont_simple,callgasvis15 use callkeys_mod, only: kastprof,continuum,graybody,callgasvis 16 16 17 17 implicit none … … 214 214 enddo 215 215 216 elseif(igas.eq.igas_H2O.and.T_cont.gt. 200.0)then217 216 elseif(igas.eq.igas_H2O.and.T_cont.gt.100.0)then 217 ! Compute self and foreign (with air) continuum of H2O 218 218 p_air = dble(PMID(k)*scalep) - p_cont ! note assumes background is air! 219 if(H2Ocont_simple)then 220 call interpolateH2Ocont_PPC(wn_cont,T_cont,p_cont,p_air,dtemp,.false.) 221 else 222 interm = indv(nw,igas,igas) 223 call interpolateH2Ocont_CKD(wn_cont,T_cont,p_cont,p_air,dtemp,.false.,interm) 224 indv(nw,igas,igas) = interm 225 endif 219 interm = indv(nw,igas,igas) 220 call interpolateH2O_self_foreign(wn_cont,T_cont,p_cont,p_air,dtemp,.false.,interm) ! MTCKD v3.3 221 indv(nw,igas,igas) = interm 226 222 227 223 endif -
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r2032 r2520 32 32 use ioipsl_getin_p_mod, only: getin_p 33 33 use callkeys_mod, only: varactive,varfixed,graybody,callgasvis,& 34 continuum ,H2Ocont_simple34 continuum 35 35 implicit none 36 36 … … 643 643 elseif (igas .eq. igas_H2O) then 644 644 645 ! H2O is special 646 if(H2Ocont_simple)then 647 call interpolateH2Ocont_PPC(990.D+0,296.D+0,683.2D+0*2,0.D+0,testcont,.true.) 648 else 649 dummy = -9999 650 call interpolateH2Ocont_CKD(990.D+0,296.D+0,683.2D+0*2,0.D+0,testcont,.true.,dummy) 651 endif 645 ! Compute self and foreign (with air) continuum of H2O 646 dummy = -9999 647 call interpolateH2O_self_foreign(990.D+0,296.D+0,683.2D+0*2,0.D+0,testcont,.true.,dummy) 652 648 653 649 endif
Note: See TracChangeset
for help on using the changeset viewer.