Changeset 1740 for palm/trunk/SOURCE/diffusion_u.f90
- Timestamp:
- Jan 13, 2016 8:19:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/diffusion_u.f90
r1692 r1740 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! unnecessary calculations of kmzm and kmzp in wall bounded parts removed 22 22 ! 23 23 ! Former revisions: … … 225 225 kmzp = 0.25_wp * & 226 226 ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) ) 227 kmzm = 0.25_wp * &228 ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) )229 227 230 228 tend(k,j,i) = tend(k,j,i) & … … 243 241 ! 244 242 !-- Interpolate eddy diffusivities on staggered gridpoints 245 kmzp = 0.25_wp * &246 ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) )247 243 kmzm = 0.25_wp * & 248 244 ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) ) … … 410 406 kmzp = 0.25_wp * & 411 407 ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) ) 412 kmzm = 0.25_wp * &413 ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) )414 408 415 409 tend(k,j,i) = tend(k,j,i) & … … 436 430 ! 437 431 !-- Interpolate eddy diffusivities on staggered gridpoints 438 kmzp = 0.25_wp * &439 ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) )440 432 kmzm = 0.25_wp * & 441 433 ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) ) … … 574 566 !-- Interpolate eddy diffusivities on staggered gridpoints 575 567 kmzp = 0.25_wp * ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) ) 576 kmzm = 0.25_wp * ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) )577 568 578 569 tend(k,j,i) = tend(k,j,i) & … … 591 582 ! 592 583 !-- Interpolate eddy diffusivities on staggered gridpoints 593 kmzp = 0.25_wp * &594 ( km(k,j,i)+km(k+1,j,i)+km(k,j,i-1)+km(k+1,j,i-1) )595 584 kmzm = 0.25_wp * & 596 585 ( km(k,j,i)+km(k-1,j,i)+km(k,j,i-1)+km(k-1,j,i-1) )
Note: See TracChangeset
for help on using the changeset viewer.