Changeset 2490
- Timestamp:
- Apr 4, 2016, 7:05:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3_routines.F90
r2481 r2490 2605 2605 ! 2606 2606 2607 d6 = bfac*wdtrain(il) - 100.*sigd(il)*bfac*(ph(il,i)-ph(il,i+1))*evap(il, i) 2608 e6 = bfac*wdtrain(il) 2609 f6 = -100.*sigd(il)*bfac*(ph(il,i)-ph(il,i+1))*evap(il, i) 2610 2607 !jyg< 2608 d6 = prec(il,i)-prec(il,i+1) 2609 2610 !! d6 = bfac*wdtrain(il) - 100.*sigd(il)*bfac*(ph(il,i)-ph(il,i+1))*evap(il, i) 2611 !! e6 = bfac*wdtrain(il) 2612 !! f6 = -100.*sigd(il)*bfac*(ph(il,i)-ph(il,i+1))*evap(il, i) 2613 !>jyg 2611 2614 !CR:tmax_fonte_cv: T for which ice is totally melted (used to be 275.15) 2612 2615 thaw = (t(il,i)-273.15)/(tmax_fonte_cv-273.15) 2613 2616 thaw = min(max(thaw,0.0), 1.0) 2617 !jyg< 2614 2618 water(il, i) = water(il, i+1) + (1-fraci(il,i))*d6 2615 water(il, i) = max(water(il,i), 0.) 2616 ice(il, i) = ice(il, i+1) + fraci(il, i)*d6 2617 ice(il, i) = max(ice(il,i), 0.) 2619 ice(il, i) = ice(il, i+1) + fraci(il, i)*d6 2620 water(il, i) = min(prec(il,i), max(water(il,i), 0.)) 2621 ice(il, i) = min(prec(il,i), max(ice(il,i), 0.)) 2622 2623 !! water(il, i) = water(il, i+1) + (1-fraci(il,i))*d6 2624 !! water(il, i) = max(water(il,i), 0.) 2625 !! ice(il, i) = ice(il, i+1) + fraci(il, i)*d6 2626 !! ice(il, i) = max(ice(il,i), 0.) 2627 !>jyg 2618 2628 fondue(il, i) = ice(il, i)*thaw 2619 2629 water(il, i) = water(il, i) + fondue(il, i)
Note: See TracChangeset
for help on using the changeset viewer.