- Timestamp:
- Sep 11, 2023, 4:42:03 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lmdz_lscp.F90
r4674 r4686 7 7 !++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 8 SUBROUTINE lscp(klon,klev,dtime,missing_val, & 9 paprs,pplay,temp,q ,ptconv,ratqs,&9 paprs,pplay,temp,qt,ptconv,ratqs, & 10 10 d_t, d_q, d_ql, d_qi, rneb, rneblsvol, rneb_seri, & 11 11 pfraclr,pfracld, & … … 123 123 REAL, DIMENSION(klon,klev), INTENT(IN) :: pplay ! mid-layer pressure [Pa] 124 124 REAL, DIMENSION(klon,klev), INTENT(IN) :: temp ! temperature (K) 125 REAL, DIMENSION(klon,klev), INTENT(IN) :: q ! total specific humidity (= vapor phase) [kg/kg]125 REAL, DIMENSION(klon,klev), INTENT(IN) :: qt ! total specific humidity (in vapor phase in input) [kg/kg] 126 126 INTEGER, INTENT(IN) :: iflag_cld_th ! flag that determines the distribution of convective clouds 127 127 INTEGER, INTENT(IN) :: iflag_ice_thermo! flag to activate the ice thermodynamics … … 143 143 144 144 REAL, DIMENSION(klon,klev), INTENT(INOUT) :: zthl ! liquid potential temperature [K] 145 REAL, DIMENSION(klon,klev), INTENT(INOUT):: ratqs ! function of pressure that sets the large-scale 146 REAL, DIMENSION(klon,klev), INTENT(OUT):: beta ! conversion rate of condensed water 145 REAL, DIMENSION(klon,klev), INTENT(INOUT) :: ratqs ! function of pressure that sets the large-scale 147 146 148 147 … … 172 171 REAL, DIMENSION(klon,klev), INTENT(OUT) :: distcltop ! distance to cloud top [m] 173 172 REAL, DIMENSION(klon,klev), INTENT(OUT) :: temp_cltop ! temperature of cloud top [K] 173 REAL, DIMENSION(klon,klev), INTENT(OUT) :: beta ! conversion rate of condensed water 174 174 175 ! fraction of aerosol scavenging through impaction and nucleation (for on-line) 175 176 … … 191 192 REAL, DIMENSION(klon,klev), INTENT(OUT) :: fcontrN ! fraction of grid favourable to non-persistent contrails 192 193 REAL, DIMENSION(klon,klev), INTENT(OUT) :: fcontrP ! fraction of grid favourable to persistent contrails 193 REAL, DIMENSION(klon,klev), INTENT(OUT) :: cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv 194 194 REAL, DIMENSION(klon,klev), INTENT(OUT) :: cloudth_sth ! mean saturation deficit in thermals 195 REAL, DIMENSION(klon,klev), INTENT(OUT) :: cloudth_senv ! mean saturation deficit in environment 196 REAL, DIMENSION(klon,klev), INTENT(OUT) :: cloudth_sigmath ! std of saturation deficit in thermals 197 REAL, DIMENSION(klon,klev), INTENT(OUT) :: cloudth_sigmaenv ! std of saturation deficit in environment 198 199 195 200 196 201 ! LOCAL VARIABLES: … … 360 365 DO i = 1, klon 361 366 zt(i)=temp(i,k) 362 zq(i)=q (i,k)367 zq(i)=qt(i,k) 363 368 !c_iso init of iso 364 369 ENDDO … … 1207 1212 d_ql(i,k) = (1-zfice(i))*zoliq(i) 1208 1213 d_qi(i,k) = zfice(i)*zoliq(i) 1209 d_q(i,k) = zq(i) - q (i,k)1214 d_q(i,k) = zq(i) - qt(i,k) 1210 1215 ! c_iso: same for isotopes 1211 1216 d_t(i,k) = zt(i) - temp(i,k)
Note: See TracChangeset
for help on using the changeset viewer.