Changeset 3864 for palm/trunk/SOURCE/advec_ws.f90
- Timestamp:
- Apr 5, 2019 9:01:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_ws.f90
r3696 r3864 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Remove tailing white spaces 28 ! 29 ! 3696 2019-01-24 16:37:35Z suehring 27 30 ! Bugfix in degradation height 28 31 ! … … 349 352 350 353 USE salsa_util_mod, & 351 ONLY: sums_salsa_ws_l 352 354 ONLY: sums_salsa_ws_l 355 353 356 USE statistics, & 354 357 ONLY: sums_us2_ws_l, sums_vs2_ws_l, sums_ws2_ws_l, sums_wsncs_ws_l,& … … 357 360 sums_wssas_ws_l, sums_wsss_ws_l, sums_wsus_ws_l, & 358 361 sums_wsvs_ws_l 359 362 360 363 361 364 ! … … 418 421 sums_wssas_ws_l = 0.0_wp 419 422 ENDIF 420 423 421 424 IF ( salsa ) THEN 422 425 ALLOCATE( sums_salsa_ws_l(nzb:nzt+1,0:threads_per_task-1) ) 423 sums_salsa_ws_l = 0.0_wp 426 sums_salsa_ws_l = 0.0_wp 424 427 ENDIF 425 428 … … 1143 1146 1144 1147 USE salsa_util_mod, & 1145 ONLY: sums_salsa_ws_l 1146 1148 ONLY: sums_salsa_ws_l 1149 1147 1150 USE statistics, & 1148 1151 ONLY: sums_us2_ws_l, sums_vs2_ws_l, sums_ws2_ws_l, sums_wsncs_ws_l,& … … 1221 1224 1222 1225 USE salsa_util_mod, & 1223 ONLY: sums_salsa_ws_l 1226 ONLY: sums_salsa_ws_l 1224 1227 1225 1228 USE statistics, & … … 1824 1827 ) * weight_substep(intermediate_timestep_count) 1825 1828 ENDDO 1826 1829 1827 1830 CASE ( 's' ) 1828 1831 1829 1832 DO k = nzb, nzt 1830 1833 sums_wsss_ws_l(k,tn) = sums_wsss_ws_l(k,tn) + & … … 1835 1838 ) * weight_substep(intermediate_timestep_count) 1836 1839 ENDDO 1837 1840 1838 1841 CASE ( 'aerosol_mass', 'aerosol_number', 'salsa_gas' ) 1839 1842 1840 1843 DO k = nzb, nzt 1841 1844 sums_salsa_ws_l(k,tn) = sums_salsa_ws_l(k,tn) + & … … 1845 1848 * ABS( w(k,j,i) - hom(k,1,3,0) ) & 1846 1849 ) * weight_substep(intermediate_timestep_count) 1847 ENDDO 1850 ENDDO 1848 1851 1849 1852 ! CASE ( 'kc' ) … … 1852 1855 1853 1856 END SELECT 1854 1857 1855 1858 END SUBROUTINE advec_s_ws_ij 1856 1859 … … 3595 3598 ONLY: nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzb_max, & 3596 3599 nzt, advc_flags_1 3597 3600 3598 3601 USE kinds 3599 3602 3600 3603 USE salsa_util_mod, & 3601 ONLY: sums_salsa_ws_l 3602 3604 ONLY: sums_salsa_ws_l 3605 3603 3606 USE statistics, & 3604 3607 ONLY: hom, sums_wspts_ws_l, sums_wsqs_ws_l, sums_wssas_ws_l, & 3605 3608 sums_wsqcs_ws_l, sums_wsqrs_ws_l, sums_wsncs_ws_l, & 3606 3609 sums_wsnrs_ws_l, sums_wsss_ws_l, weight_substep 3607 3610 3608 3611 3609 3612
Note: See TracChangeset
for help on using the changeset viewer.