Changeset 2507 for LMDZ5/trunk/libf/phylmd/icefrac_lsc_mod.F90
- Timestamp:
- May 4, 2016, 4:36:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/icefrac_lsc_mod.F90
r2109 r2507 14 14 ! Doutriaux-Boucher & Quaas 2004, section 2.2.) 15 15 ! 16 ! (JBM 3/14 8/14 )16 ! (JBM 3/14 8/14 5/16) 17 17 18 USE print_control_mod, ONLY: lunout, prt_level 18 19 INCLUDE "nuage.h" 19 20 … … 33 34 34 35 DO ip=1,np 35 www=(max(sig(ip)-sig0,0.))/(1.-sig0) ! w=1 at the surface and 0 for sig < sig0 36 IF (iflag_t_glace.EQ.1) THEN 37 ! Transition to ice close to surface for T<Tmax 38 ! w=1 at the surface and 0 for sig < sig0 39 www=(max(sig(ip)-sig0,0.))/(1.-sig0) 40 ELSEIF (iflag_t_glace.GE.2) THEN 41 ! No convertion to ice close to surface 42 www = 0. 43 ENDIF 36 44 tmin_tmp=www*t_glace_max+(1.-www)*t_glace_min 37 45 icefrac_tmp= 1.0 - (temp(ip)-tmin_tmp) / (t_glace_max-tmin_tmp)
Note: See TracChangeset
for help on using the changeset viewer.