Changeset 4026 for palm/trunk/SOURCE/pmc_interface_mod.f90
- Timestamp:
- Jun 12, 2019 4:50:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r4011 r4026 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Masked topography at boundary grid points in mass conservation, in order to 28 ! avoid that mean velocities within topography are imposed 29 ! 30 ! 4011 2019-05-31 14:34:03Z hellstea 27 31 ! Mass (volume) flux correction included to ensure global mass conservation for child domains. 28 32 ! … … 5288 5292 DO j = nys, nyn 5289 5293 DO k = nzb + 1, nzt 5290 u(k,j,i) = u(k,j,i) + u_corr_left 5294 u(k,j,i) = u(k,j,i) + u_corr_left & 5295 * MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_0(k,j,i), 1 ) ) 5291 5296 ENDDO 5292 5297 ENDDO … … 5299 5304 DO j = nys, nyn 5300 5305 DO k = nzb + 1, nzt 5301 u(k,j,i) = u(k,j,i) + u_corr_right 5306 u(k,j,i) = u(k,j,i) + u_corr_right & 5307 * MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_0(k,j,i), 1 ) ) 5302 5308 ENDDO 5303 5309 ENDDO … … 5310 5316 DO j = nysg, nys 5311 5317 DO k = nzb + 1, nzt 5312 v(k,j,i) = v(k,j,i) + v_corr_south 5318 v(k,j,i) = v(k,j,i) + v_corr_south & 5319 * MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_0(k,j,i), 2 ) ) 5313 5320 ENDDO 5314 5321 ENDDO … … 5321 5328 DO j = nyn+1, nyng 5322 5329 DO k = nzb + 1, nzt 5323 v(k,j,i) = v(k,j,i) + v_corr_north 5330 v(k,j,i) = v(k,j,i) + v_corr_north & 5331 * MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_0(k,j,i), 2 ) ) 5324 5332 ENDDO 5325 5333 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.