Changeset 531
- Timestamp:
- Feb 15, 2012, 5:22:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/improvedclouds.F
r530 r531 170 170 171 171 do i=1,nbin_cld-1 172 rad_cld(i+1) = rad_cld(i) * CBRT(vrat_cld) !!**(1./3.)172 rad_cld(i+1) = rad_cld(i) * vrat_cld**(1./3.) 173 173 vol_cld(i+1) = vol_cld(i) * vrat_cld 174 174 enddo 175 175 176 176 do i=1,nbin_cld 177 rb_cld(i+1)= CBRT( (2.*vrat_cld) / (vrat_cld+1.)) *177 rb_cld(i+1)= ( (2.*vrat_cld) / (vrat_cld+1.) )**(1./3.) * 178 178 & rad_cld(i) 179 179 dr_cld(i) = rb_cld(i+1) - rb_cld(i) … … 364 364 rhocloud(ig,l) = min(max(rhocloud(ig,l),rho_ice),rho_dust) 365 365 rice(ig,l) = 366 & CBRT( Mo / No* 0.75 / pi / rhocloud(ig,l) ) !**(1./3.)366 & CBRT( real(Mo)/real(No) * 0.75 / pi / rhocloud(ig,l) ) !**(1./3.) 367 367 c nuice(ig,l)=nuice_ref ! used for rad. transfer calculations 368 368 if ((Mo.lt.1.e-20) .or. (No.le.1)) rice(ig,l) = 1.e-8 … … 484 484 rice_out(ig,l)=rice(ig,l) 485 485 rice(ig,l) = 486 & CBRT( Mo / No* 0.75 / pi / rhocloud(ig,l) ) !**(1./3.)486 & CBRT( real(Mo)/real(No) * 0.75 / pi / rhocloud(ig,l) ) !**(1./3.) 487 487 if ((Mo.lt.1.e-20) .or. (No.le.1)) rice(ig,l) = 1.e-8 488 488 rice_out(ig,l)=rice(ig,l)-rice_out(ig,l)
Note: See TracChangeset
for help on using the changeset viewer.