Changeset 2922 for LMDZ5/trunk/libf
- Timestamp:
- Jun 29, 2017, 5:45:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/wake.F90
r2761 r2922 178 178 LOGICAL, SAVE :: flag_wk_check_trgl 179 179 !$OMP THREADPRIVATE(flag_wk_check_trgl) 180 INTEGER, SAVE :: iflag_wk_check_trgl 181 !$OMP THREADPRIVATE(iflag_wk_check_trgl) 180 182 181 183 REAL :: delta_t_min … … 347 349 CALL getin_p('flag_wk_check_trgl ', flag_wk_check_trgl) 348 350 WRITE(*,*) 'flag_wk_check_trgl=', flag_wk_check_trgl 351 WRITE(*,*) 'flag_wk_check_trgl OBSOLETE. Utilisr iflag_wk_check_trgl plutot' 352 iflag_wk_check_trgl=0 ; IF (flag_wk_check_trgl) iflag_wk_check_trgl=1 353 CALL getin_p('iflag_wk_check_trgl ', iflag_wk_check_trgl) 354 WRITE(*,*) 'iflag_wk_check_trgl=', iflag_wk_check_trgl 349 355 350 356 first=.false. … … 1793 1799 ! Filter out bad wakes 1794 1800 1795 IF ( flag_wk_check_trgl) THEN1801 IF (iflag_wk_check_trgl>=1) THEN 1796 1802 ! Check triangular shape of dth profile 1797 1803 DO i = 1, klon … … 1805 1811 wape2(i) = -1. 1806 1812 !! print *,'wake, rej 1' 1807 ELSE IF ( abs(2.*sum_dth(i)/(hw0(i)*dthmin(i)) - 1.) > 0.5) THEN1813 ELSE IF (iflag_wk_check_trgl==1.AND.abs(2.*sum_dth(i)/(hw0(i)*dthmin(i)) - 1.) > 0.5) THEN 1808 1814 wape2(i) = -1. 1809 1815 !! print *,'wake, rej 2'
Note: See TracChangeset
for help on using the changeset viewer.