Changeset 2339
- Timestamp:
- Aug 18, 2015, 5:08:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/yamada4.F90
r2311 r2339 344 344 ! print*,'Longueur ',l(:,:) 345 345 DO k = 2, klev - 1 346 l(:, k) = max(l(:,k), 1.) 347 km(:, k) = l(:, k)*sqrt(q2(:,k))*sm(:, k) 348 q2(:, k) = q2(:, k) + dt*km(:, k)*m2(:, k)*(1.-rif(:,k)) 349 q2(:, k) = min(max(q2(:,k),1.E-10), 1.E4) 350 q2(:, k) = 1./(1./sqrt(q2(:,k))+dt/(2*l(:,k)*b1)) 351 q2(:, k) = q2(:, k)*q2(:, k) 346 DO ig = 1, ngrid 347 l(ig, k) = max(l(ig,k), 1.) 348 km(ig, k) = l(ig, k)*sqrt(q2(ig,k))*sm(ig, k) 349 q2(ig, k) = q2(ig, k) + dt*km(ig, k)*m2(ig, k)*(1.-rif(ig,k)) 350 q2(ig, k) = min(max(q2(ig,k),1.E-10), 1.E4) 351 q2(ig, k) = 1./(1./sqrt(q2(ig,k))+dt/(2*l(ig,k)*b1)) 352 q2(ig, k) = q2(ig, k)*q2(ig, k) 353 END DO 352 354 END DO 353 355
Note: See TracChangeset
for help on using the changeset viewer.