- Timestamp:
- Jul 24, 2024, 2:54:37 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/lmdz_ratqs_multi.F90
r5113 r5116 61 61 REAL :: taup0 = 70000 62 62 REAL :: taudp = 500 63 integer:: lev_out=1063 INTEGER :: lev_out=10 64 64 REAL, DIMENSION (klon,klev) :: zmasse,entr0,detr0,detraincv,dqp,detrain_p,q0,qd0,tau_diss 65 65 REAL, DIMENSION (klon,klev+1) :: fm0 … … 127 127 var_var(i,k) = detr0(i,k)*(varq_therm(i,k)-povariance(i,k))/zmasse(i,k) 128 128 var_det_conv(i,k) = a_ratqs_cv*(detrain_cv(i,k)/zmasse(i,k)) 129 if (sigd(i)/=0) then129 if (sigd(i)/=0) THEN 130 130 var_desc_prec(i,k) = sigd(i)*(1-sigd(i))*(fqd(i,k)*tau_cumul/sigd(i))**2/tau_cumul 131 131 else … … 145 145 var_desc_conv(:,klev) = var_desc_conv(:,klev-1) 146 146 147 if (klein) then147 if (klein) THEN 148 148 do k=1,klev-1 149 149 do i=1,klon 150 150 qd0(:,:) = 0.0 151 if (sigd(i)/=0) then151 if (sigd(i)/=0) THEN 152 152 qd0(i,k) = fqd(i,k)*tau_cumul/sigd(i) 153 153 endif … … 172 172 qd0(i,k) = fqd(i,k)*tau_cumul/sigd(i) 173 173 endif 174 if (sigt_cv(i,k)/=0) then174 if (sigt_cv(i,k)/=0) THEN 175 175 q0(i,k) = fqcomp(i,k)*tau_cumul/sigt_cv(i,k) 176 176 endif … … 195 195 do k=1,klev 196 196 do i=1,klon 197 if(q_seri(i,k)>=1E-7) then197 IF(q_seri(i,k)>=1E-7) THEN 198 198 ratqs_inter_(i,k) = abs(povariance(i,k))**0.5/q_seri(i,k) 199 199 sigma_therm(i,k) = abs(varq_therm(i,k))**0.5 ! sigma dans les thermiques … … 205 205 enddo 206 206 207 return 207 RETURN 208 208 end 209 209
Note: See TracChangeset
for help on using the changeset viewer.