Changeset 3255 for palm/trunk/SOURCE
- Timestamp:
- Sep 17, 2018 11:57:36 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_w_up.f90
r2718 r3255 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Missing wall flags added 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 212 215 IF ( ukomp > 0.0_wp ) THEN 213 216 tend(k,j,i) = tend(k,j,i) - ukomp * & 214 ( w(k,j,i) - w(k,j,i-1) ) * ddx 217 ( w(k,j,i) - w(k,j,i-1) ) * ddx & 218 * MERGE( 1.0_wp, 0.0_wp, & 219 BTEST( wall_flags_0(k,j,i), 3 ) ) 215 220 ELSE 216 221 tend(k,j,i) = tend(k,j,i) - ukomp * & 217 ( w(k,j,i+1) - w(k,j,i) ) * ddx 222 ( w(k,j,i+1) - w(k,j,i) ) * ddx & 223 * MERGE( 1.0_wp, 0.0_wp, & 224 BTEST( wall_flags_0(k,j,i), 3 ) ) 218 225 ENDIF 219 226 ! … … 223 230 IF ( vkomp > 0.0_wp ) THEN 224 231 tend(k,j,i) = tend(k,j,i) - vkomp * & 225 ( w(k,j,i) - w(k,j-1,i) ) * ddy 232 ( w(k,j,i) - w(k,j-1,i) ) * ddy & 233 * MERGE( 1.0_wp, 0.0_wp, & 234 BTEST( wall_flags_0(k,j,i), 3 ) ) 226 235 ELSE 227 236 tend(k,j,i) = tend(k,j,i) - vkomp * & 228 ( w(k,j+1,i) - w(k,j,i) ) * ddy 237 ( w(k,j+1,i) - w(k,j,i) ) * ddy & 238 * MERGE( 1.0_wp, 0.0_wp, & 239 BTEST( wall_flags_0(k,j,i), 3 ) ) 229 240 ENDIF 230 241 ! … … 232 243 IF ( w(k,j,i) > 0.0_wp ) THEN 233 244 tend(k,j,i) = tend(k,j,i) - w(k,j,i) * & 234 ( w(k,j,i) - w(k-1,j,i) ) * ddzw(k) 245 ( w(k,j,i) - w(k-1,j,i) ) * ddzw(k) & 246 * MERGE( 1.0_wp, 0.0_wp, & 247 BTEST( wall_flags_0(k,j,i), 3 ) ) 235 248 ELSE 236 249 tend(k,j,i) = tend(k,j,i) - w(k,j,i) * & 237 ( w(k+1,j,i) - w(k,j,i) ) * ddzw(k+1) 250 ( w(k+1,j,i) - w(k,j,i) ) * ddzw(k+1) & 251 * MERGE( 1.0_wp, 0.0_wp, & 252 BTEST( wall_flags_0(k,j,i), 3 ) ) 238 253 ENDIF 239 254
Note: See TracChangeset
for help on using the changeset viewer.