Changeset 2534 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Jun 2, 2016, 4:24:31 PM (8 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/calcratqs.F90
r2236 r2534 1 1 SUBROUTINE calcratqs(klon,klev,prt_level,lunout, & 2 2 iflag_ratqs,iflag_con,iflag_cld_th,pdtphys, & 3 ratqsbas,ratqshaut,tau_ratqs,fact_cldcon, & 3 ratqsbas,ratqshaut,ratqsp0,ratqsdp, & 4 tau_ratqs,fact_cldcon, & 4 5 ptconv,ptconvth,clwcon0th, rnebcon0th, & 5 6 paprs,pplay,q_seri,zqsat,fm_therm, & … … 21 22 integer,intent(in) :: iflag_con,iflag_cld_th,iflag_ratqs 22 23 real,intent(in) :: pdtphys,ratqsbas,ratqshaut,fact_cldcon,tau_ratqs 24 real,intent(in) :: ratqsp0, ratqsdp 23 25 real, dimension(klon,klev+1),intent(in) :: paprs 24 26 real, dimension(klon,klev),intent(in) :: pplay,q_seri,zqsat,fm_therm … … 125 127 do k=1,klev 126 128 ratqss(:,k)=ratqsbas+0.5*(ratqshaut-ratqsbas) & 127 *( tanh( (50000.-pplay(:,k))/20000.) + 1.) 129 ! *( tanh( (50000.-pplay(:,k))/20000.) + 1.) 130 *( tanh( (ratqsp0-pplay(:,k))/ratqsdp) + 1.) 128 131 enddo 129 132 -
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2530 r2534 679 679 save ratqsbas,ratqshaut,tau_ratqs 680 680 !$OMP THREADPRIVATE(ratqsbas,ratqshaut,tau_ratqs) 681 REAL, SAVE :: ratqsp0=50000., ratqsdp=20000. 682 !$OMP THREADPRIVATE(ratqsp0, ratqsdp) 681 683 682 684 ! Parametres lies au nouveau schema de nuages (SB, PDF) … … 1051 1053 CALL getin_p('random_notrig_max',random_notrig_max) 1052 1054 CALL getin_p('ok_adjwk',ok_adjwk) 1055 CALL getin_p('ratqsp0',ratqsp0) 1056 CALL getin_p('ratqsdp',ratqsdp) 1053 1057 ENDIF 1054 1058 … … 2851 2855 CALL calcratqs(klon,klev,prt_level,lunout, & 2852 2856 iflag_ratqs,iflag_con,iflag_cld_th,pdtphys, & 2853 ratqsbas,ratqshaut,tau_ratqs,fact_cldcon, & 2857 ratqsbas,ratqshaut,ratqsp0, ratqsdp, & 2858 tau_ratqs,fact_cldcon, & 2854 2859 ptconv,ptconvth,clwcon0th, rnebcon0th, & 2855 2860 paprs,pplay,q_seri,zqsat,fm_therm, &
Note: See TracChangeset
for help on using the changeset viewer.