Changeset 2761 for LMDZ5/trunk/libf/phylmd/cv3_routines.F90
- Timestamp:
- Jan 11, 2017, 12:39:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3_routines.F90
r2759 r2761 85 85 cv_flag_feed=1 86 86 CALL getin_p('cv_flag_feed',cv_flag_feed) 87 T_top_max = 1000. 88 CALL getin_p('t_top_max',T_top_max) 87 89 dpbase=-40. 88 90 CALL getin_p('dpbase',dpbase) … … 119 121 CALL getin_p('tlcrit',tlcrit) 120 122 123 WRITE (*, *) 't_top_max=', t_top_max 121 124 WRITE (*, *) 'dpbase=', dpbase 122 125 WRITE (*, *) 'pbcrit=', pbcrit … … 1071 1074 END SUBROUTINE icefrac 1072 1075 1073 SUBROUTINE cv3_undilute2(nloc, ncum, nd, i cb, icbs, nk, &1076 SUBROUTINE cv3_undilute2(nloc, ncum, nd, iflag, icb, icbs, nk, & 1074 1077 tnk, qnk, gznk, hnk, t, q, qs, gz, & 1075 1078 p, ph, h, tv, lv, lf, pbase, buoybase, plcl, & … … 1116 1119 REAL, DIMENSION (nloc, nd), INTENT (INOUT) :: tp, tvp, clw ! Input for k = 1, icb+1 (computed in cv3_undilute1) 1117 1120 ! Output above 1121 INTEGER, DIMENSION (nloc), INTENT (INOUT) :: iflag 1118 1122 1119 1123 !outputs: … … 1594 1598 ! ori frac(i)=max(frac(i),0.0) 1595 1599 ! ori 540 continue 1600 1601 ! -------------------------------------------------------------------- 1602 ! Prevent convection when top is too hot 1603 ! -------------------------------------------------------------------- 1604 DO i = 1,ncum 1605 IF (t(i,inb(i)) > T_top_max) iflag(i) = 10 1606 ENDDO 1596 1607 1597 1608 ! =====================================================================
Note: See TracChangeset
for help on using the changeset viewer.