- Timestamp:
- Feb 12, 2024, 4:03:59 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lmdz_wake.F90
r4744 r4814 708 708 ! IM v3JYG; ptop_provis(i).LT. ph(i,1) 709 709 710 ! LJYF : mettre cette ligne à la place de la suivante IF (dth(i,k)>=-delta_t_min .AND. dth(i,k-1)<-delta_t_min .AND. & 710 711 IF (dth(i,k)>-delta_t_min .AND. dth(i,k-1)<-delta_t_min .AND. & 711 712 ptop_provis(i)==ph(i,1)) THEN … … 766 767 ! -5/ Determination de ktop et kupper 767 768 768 CALL pkupper (klon, klev, ptop, ph, pupper, kupper)769 770 769 DO k = klev, 1, -1 771 770 DO i = 1, klon … … 785 784 DO i = 1, klon 786 785 IF (k<=ktop(i) .AND. ptop_new(i)==ptop(i) .AND. & 786 ! LJYF changer par cette ligne dth(i,k)>=-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 787 787 dth(i,k)>-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 788 788 ptop_new(i) = ((dth(i,k)+delta_t_min)*p(i,k-1)-(dth(i, & … … 802 802 END DO 803 803 804 CALL pkupper (klon, klev, ptop, ph, pupper, kupper) 805 804 806 IF (prt_level>=10) THEN 805 807 PRINT *, 'wake-3, ktop(igout), kupper(igout) ', ktop(igout), kupper(igout) … … 989 991 ! 990 992 ! ------------------------------------------------------------------------ 991 !992 CALL pkupper (klon, klev, ptop, ph, pupper, kupper)993 994 !print*, 'ptop, pupper, ktop, kupper', ptop, pupper, ktop, kupper995 996 993 ! wk_adv is the logical flag enabling wake evolution in the time advance 997 994 ! loop … … 1843 1840 DO i = 1, klon 1844 1841 IF (wk_adv(i) .AND. ptop_provis(i)==ph(i,1) .AND. & 1842 ! LJYF changer : dth(i,k)>=-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 1845 1843 dth(i,k)>-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 1846 1844 ptop_provis(i) = ((dth(i,k)+delta_t_min)*p(i,k-1) - & … … 1916 1914 ! IM v3JYG; IF (k .GE. ktop(i) 1917 1915 IF (wk_adv(i) .AND. k<=ktop(i) .AND. ptop_new(i)==ptop(i) .AND. & 1916 ! LJYF changer : dth(i,k)>=-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 1918 1917 dth(i,k)>-delta_t_min .AND. dth(i,k-1)<-delta_t_min) THEN 1919 1918 ptop_new(i) = ((dth(i,k)+delta_t_min)*p(i,k-1) - & … … 1937 1936 END DO 1938 1937 END DO 1938 1939 CALL pkupper (klon, klev, ptop, ph, pupper, kupper) 1940 1939 1941 1940 1942 ! 5/ Set deltatw & deltaqw to 0 above kupper … … 2087 2089 ! ------------------------------------------------------------------------ 2088 2090 ! 2089 END DO ! end sub-timestep loop 2091 END DO ! isubstep end sub-timestep loop 2092 2090 2093 ! 2091 2094 ! ------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.