Changeset 3209 for LMDZ6/trunk/libf
- Timestamp:
- Feb 16, 2018, 12:50:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/alpale_th.F90
r3208 r3209 3 3 ale_bl_trig, ale_bl_stat, ale_bl, & 4 4 alp_bl, alp_bl_stat, & 5 proba_notrig, random_notrig, birth_rate, & 6 q_alp) 5 proba_notrig, random_notrig, birth_rate) 7 6 8 7 ! ************************************************************** … … 44 43 45 44 REAL, DIMENSION(klon), INTENT(OUT) :: birth_rate 46 REAL, DIMENSION(klon), INTENT(OUT) :: q_alp47 45 48 46 include "thermcell.h" … … 146 144 birth_rate(i) = n2(i)*exp(-s_trig/s2(i))/(tau_trig(i)*cell_area(i)) 147 145 !!! birth_rate(i) = max(birth_rate(i),1.e-18) 148 q_alp(i) = alp_bl(i)/max(birth_rate(i),1.e-18)149 146 else 150 147 !!jyg proba_notrig(i)=1. … … 152 149 random_notrig(i)=0. 153 150 ale_bl_trig(i)=0. 154 q_alp(i) = 0.155 151 endif 156 152 enddo … … 170 166 birth_rate(i) = n2(i)*exp(-s_trig/s2(i))/(tau_trig(i)*cell_area(i)) 171 167 !!! birth_rate(i) = max(birth_rate(i),1.e-18) 172 q_alp(i) = alp_bl(i)/max(birth_rate(i),1.e-18)173 168 else 174 169 !!jyg proba_notrig(i)=1. … … 176 171 random_notrig(i)=0. 177 172 ale_bl_trig(i)=0. 178 q_alp(i) = 0.179 173 endif 180 174 enddo … … 272 266 !!! birth_rate(i) = max(birth_rate(i),1.e-18) 273 267 proba_notrig(i)=proba_notrig(i)*exp(-birth_number*dtime/tau_trig(i)) 274 q_alp(i) = alp_bl(i)/max(birth_rate(i),1.e-18)275 268 Alp_bl(i) = Alp_bl(i)* & 276 269 umexp(-birth_number*cv_feed_area/cell_area(i))/ & … … 282 275 random_notrig(i)=0. 283 276 alp_bl(i)=0. 284 q_alp(i) = 0.285 277 endif 286 278 enddo … … 308 300 309 301 IF (prt_level .GE. 10) THEN 310 print *,'alpale_th: ale_bl_trig, alp_bl_stat, birth_rate , q_alp', &311 ale_bl_trig(1), alp_bl_stat(1), birth_rate(1) , q_alp(1)302 print *,'alpale_th: ale_bl_trig, alp_bl_stat, birth_rate ', & 303 ale_bl_trig(1), alp_bl_stat(1), birth_rate(1) 312 304 ENDIF 313 305
Note: See TracChangeset
for help on using the changeset viewer.