Changeset 1888 for palm/trunk/SOURCE
- Timestamp:
- Apr 21, 2016 12:20:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_advec.f90
r1823 r1888 19 19 ! Current revisions: 20 20 ! ------------------ 21 ! 21 ! Bugfix concerning logarithmic interpolation of particle speed 22 22 ! 23 23 ! Former revisions: … … 273 273 !-- using the neutral solution also for un/stable situations. 274 274 !-- Calculated left and bottom index on u grid. 275 us_int = 0.5_wp * ( us(j,i) + us(j,i-1) )276 277 u_int = -usws(j,i) / ( us_int * kappa + 1E-10_wp )&275 us_int = 0.5_wp * ( us(j,i) + us(j,i-1) ) 276 277 u_int(n) = -usws(j,i) / ( us_int * kappa + 1E-10_wp ) & 278 278 * log_z_z0_int(n) - u_gtrans 279 279 … … 331 331 !-- using the neutral solution also for un/stable situations. 332 332 !-- Calculated left and bottom index on v grid. 333 us_int = 0.5_wp * ( us(j,i) + us(j-1,i) )334 335 v_int = -vsws(j,i) / ( us_int * kappa + 1E-10_wp )&333 us_int = 0.5_wp * ( us(j,i) + us(j-1,i) ) 334 335 v_int(n) = -vsws(j,i) / ( us_int * kappa + 1E-10_wp ) & 336 336 * log_z_z0_int(n) - v_gtrans 337 337 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.