Changeset 2606 for palm/trunk/SOURCE/lpm_boundary_conds.f90
- Timestamp:
- Nov 10, 2017 10:36:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_boundary_conds.f90
r2318 r2606 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Changed particle box locations: center of particle box now coincides 28 ! with scalar grid point of same index. 29 ! Renamed module and subroutines: lpm_pack_arrays_mod -> lpm_pack_and_sort_mod 30 ! lpm_pack_all_arrays -> lpm_sort_in_subboxes, lpm_pack_arrays -> lpm_pack 31 ! lpm_sort -> lpm_sort_timeloop_done 32 ! 33 ! 2318 2017-07-20 17:27:44Z suehring 27 34 ! Get topography top index via Function call 28 35 ! … … 254 261 ! 255 262 !-- Obtain x/y indices for current particle position 256 i2 = ( particles(n)%x + 0.5_wp * dx )* ddx257 j2 = ( particles(n)%y + 0.5_wp * dy )* ddy263 i2 = particles(n)%x * ddx 264 j2 = particles(n)%y * ddy 258 265 ! 259 266 !-- Save current particle positions … … 268 275 ! 269 276 !-- Obtain x/y indices for old particle positions 270 i1 = ( pos_x_old + 0.5_wp * dx )* ddx271 j1 = ( pos_y_old + 0.5_wp * dy )* ddy277 i1 = pos_x_old * ddx 278 j1 = pos_y_old * ddy 272 279 ! 273 280 !-- Determine horizontal as well as vertical walls at which particle can
Note: See TracChangeset
for help on using the changeset viewer.