Changeset 3723 for LMDZ6/trunk/libf/phylmd/cospv2/cosp_utils.F90
- Timestamp:
- Jun 18, 2020, 10:44:07 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cospv2/cosp_utils.F90
r3491 r3723 56 56 integer :: i,j,k 57 57 real(wp) :: sigma,one_over_xip1,xi,rho0,rho,lambda_x,gamma_4_3_2,delta 58 59 real(wp) :: seuil 60 61 if (ok_debug_cosp) then 62 seuil=1.e-15 63 else 64 seuil=0.0 65 endif 66 67 58 68 59 69 mxratio = 0.0 … … 75 85 mxratio(i,j,k)=mxratio(i,j,k)/rho 76 86 ! Compute effective radius 77 if ((reff(i,j,k) <= 0._wp).and.(flux(i,k) /= 0._wp)) then 87 ! if ((reff(i,j,k) <= 0._wp).and.(flux(i,k) /= 0._wp)) then 88 if ((reff(i,j,k) <= 0._wp).and.(flux(i,k) > seuil)) then 78 89 lambda_x = (a_x*c_x*((rho0/rho)**g_x)*n_ax*gamma1/flux(i,k))**(1._wp/delta) 79 90 reff(i,j,k) = gamma_4_3_2/lambda_x
Note: See TracChangeset
for help on using the changeset viewer.