Changeset 2759 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Jan 10, 2017, 3:41:55 PM (8 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3_routines.F90
r2757 r2759 2835 2835 END IF !(amp2.gt.(0.1*amfac)) 2836 2836 2837 ! *** limit magnitude of mp(i) to meet cfl condition *** 2838 2839 ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti 2840 amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti 2841 ampmax = min(ampmax, amp2) 2842 mp(il, i) = min(mp(il,i), ampmax) 2837 !jyg< This part shifted 10 lines farther 2838 !!! *** limit magnitude of mp(i) to meet cfl condition *** 2839 !! 2840 !! ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti 2841 !! amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti 2842 !! ampmax = min(ampmax, amp2) 2843 !! mp(il, i) = min(mp(il,i), ampmax) 2844 !>jyg 2843 2845 2844 2846 ! *** force mp to decrease linearly to zero *** … … 2852 2854 mp(il, i) = mp(il, i)*(ph(il,1)-ph(il,i))/(ph(il,1)-0.9*plcl(il)) 2853 2855 END IF 2856 2857 !jyg< Shifted part 2858 ! *** limit magnitude of mp(i) to meet cfl condition *** 2859 2860 ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti 2861 amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti 2862 ampmax = min(ampmax, amp2) 2863 mp(il, i) = min(mp(il,i), ampmax) 2864 !>jyg 2854 2865 2855 2866 END IF ! (i.le.inb(il) .and. lwork(il) .and. i.ne.1) -
LMDZ5/trunk/libf/phylmd/wake.F90
r2757 r2759 1928 1928 1929 1929 ! cc nrlmd IF ( wk_adv(i) .AND. k .LE. kupper(i)) THEN 1930 IF (ok_qx_qw(i) .AND. k<=kupper(i)) THEN 1930 !jyg< 1931 !! IF (ok_qx_qw(i) .AND. k<=kupper(i)) THEN 1932 IF (ok_qx_qw(i)) THEN 1933 !>jyg 1931 1934 ! cc 1932 1935 dtls(i, k) = dtls(i, k)/dtime
Note: See TracChangeset
for help on using the changeset viewer.