Changeset 3241 for LMDZ6/trunk/libf/phylmd/cosp/mod_cosp_utils.F90
- Timestamp:
- Mar 6, 2018, 10:46:13 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cosp/mod_cosp_utils.F90
r3233 r3241 61 61 integer :: i,j,k 62 62 real :: sigma,one_over_xip1,xi,rho0,rho,lambda_x,gamma_4_3_2,delta 63 63 real :: seuil 64 65 if (ok_debug_cosp) then 66 seuil=1.e-15 67 else 68 seuil=0.0 69 endif 70 64 71 mxratio = 0.0 65 72 … … 80 87 mxratio(i,j,k)=mxratio(i,j,k)/rho 81 88 ! Compute effective radius 82 if ((reff(i,j,k) <= 0.0).and.(flux(i,k) /= 0.0)) then 89 ! if ((reff(i,j,k) <= 0.0).and.(flux(i,k) /= 0.0)) then 90 if ((reff(i,j,k) <= 0.0).and.(flux(i,k) > seuil)) then 83 91 lambda_x = (a_x*c_x*((rho0/rho)**g_x)*n_ax*gamma1/flux(i,k))**(1./delta) 84 92 reff(i,j,k) = gamma_4_3_2/lambda_x
Note: See TracChangeset
for help on using the changeset viewer.