Changeset 1929 for palm/trunk/SOURCE/lpm.f90
- Timestamp:
- Jun 9, 2016 4:25:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm.f90
r1823 r1929 19 19 ! Current revisions: 20 20 ! ------------------ 21 ! 21 ! Call wall boundary conditions only if particles are in the vertical range of 22 ! topography. 22 23 ! 23 24 ! Former revisions: … … 111 112 112 113 USE indices, & 113 ONLY: nxl, nxr, nys, nyn, nzb, nz t114 ONLY: nxl, nxr, nys, nyn, nzb, nzb_max, nzt, nzb_w_inner 114 115 115 116 USE kinds … … 300 301 CALL lpm_advec(i,j,k) 301 302 ! 302 !-- Particle reflection from walls 303 IF ( topography /= 'flat' ) THEN 303 !-- Particle reflection from walls. Only applied if the particles 304 !-- are in the vertical range of the topography. (Here, some 305 !-- optimization is still possible.) 306 IF ( topography /= 'flat' .AND. k < nzb_max + 2 ) THEN 304 307 CALL lpm_boundary_conds( 'walls' ) 305 308 ENDIF … … 334 337 steps = steps + 1 335 338 dt_3d_reached_l = ALL(grid_particles(:,:,:)%time_loop_done) 336 337 339 ! 338 340 !-- Find out, if all particles on every PE have completed the LES timestep … … 359 361 !-- Horizontal boundary conditions including exchange between subdmains 360 362 CALL lpm_exchange_horiz 361 362 363 ! 363 364 !-- Pack particles (eliminate those marked for deletion),
Note: See TracChangeset
for help on using the changeset viewer.