Changeset 3182 for palm/trunk/SOURCE/exchange_horiz_2d.f90
- Timestamp:
- Jul 27, 2018 1:36:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/exchange_horiz_2d.f90
r2718 r3182 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Rename variables in offline nesting mode and flags indicating lateral 23 ! boundary conditions 23 24 ! 24 25 ! Former revisions: … … 84 85 85 86 USE control_parameters, & 86 ONLY : bc_lr_cyc, bc_ns_cyc, force_bound_l, force_bound_n, & 87 force_bound_r, force_bound_s, & 88 inflow_l, inflow_n, inflow_r, inflow_s, & 89 nest_bound_l, nest_bound_n, nest_bound_r, nest_bound_s, & 90 outflow_l, outflow_n, outflow_r, outflow_s 87 ONLY : bc_dirichlet_l, bc_dirichlet_n, bc_dirichlet_r, & 88 bc_dirichlet_s, bc_lr_cyc, bc_ns_cyc, bc_radiation_l, & 89 bc_radiation_n, bc_radiation_r, bc_radiation_s 91 90 92 91 USE cpulog, & … … 184 183 !-- Neumann-conditions at inflow/outflow/nested boundaries 185 184 IF ( nesting_mode /= 'vertical' ) THEN 186 IF ( inflow_l .OR. outflow_l .OR. nest_bound_l .OR. force_bound_l ) & 187 THEN 185 IF ( bc_dirichlet_l .OR. bc_radiation_l ) THEN 188 186 DO i = nbgp, 1, -1 189 187 ar(:,nxl-i) = ar(:,nxl) 190 188 ENDDO 191 189 ENDIF 192 IF ( inflow_r .OR. outflow_r .OR. nest_bound_r .OR. force_bound_r ) & 193 THEN 190 IF ( bc_dirichlet_r .OR. bc_radiation_r ) THEN 194 191 DO i = 1, nbgp 195 192 ar(:,nxr+i) = ar(:,nxr) 196 193 ENDDO 197 194 ENDIF 198 IF ( inflow_s .OR. outflow_s .OR. nest_bound_s .OR. force_bound_s ) & 199 THEN 195 IF ( bc_dirichlet_s .OR. bc_radiation_s ) THEN 200 196 DO i = nbgp, 1, -1 201 197 ar(nys-i,:) = ar(nys,:) 202 198 ENDDO 203 199 ENDIF 204 IF ( inflow_n .OR. outflow_n .OR. nest_bound_n .OR. force_bound_n ) & 205 THEN 200 IF ( bc_dirichlet_n .OR. bc_radiation_n ) THEN 206 201 DO i = 1, nbgp 207 202 ar(nyn+i,:) = ar(nyn,:) … … 227 222 228 223 USE control_parameters, & 229 ONLY: bc_ lr_cyc, bc_ns_cyc, grid_level, force_bound_l, force_bound_n,&230 force_bound_r, force_bound_s, nest_bound_l, nest_bound_n,&231 nest_bound_r, nest_bound_s224 ONLY: bc_dirichlet_l, bc_dirichlet_n, bc_dirichlet_r, & 225 bc_dirichlet_s, bc_lr_cyc, bc_ns_cyc, bc_radiation_l, & 226 bc_radiation_n, bc_radiation_r, bc_radiation_s, grid_level 232 227 233 228 USE cpulog, & … … 326 321 ! 327 322 !-- Neumann-conditions at inflow/outflow/nested boundaries 328 IF ( nest_bound_l .OR. force_bound_l ) THEN323 IF ( bc_dirichlet_l ) THEN 329 324 DO i = nbgp_local, 1, -1 330 325 ar(:,nxl_l-i) = ar(:,nxl_l) 331 326 ENDDO 332 327 ENDIF 333 IF ( nest_bound_r .OR. force_bound_r ) THEN328 IF ( bc_dirichlet_r ) THEN 334 329 DO i = 1, nbgp_local 335 330 ar(:,nxr_l+i) = ar(:,nxr_l) 336 331 ENDDO 337 332 ENDIF 338 IF ( nest_bound_s .OR. force_bound_s ) THEN333 IF ( bc_dirichlet_s ) THEN 339 334 DO i = nbgp_local, 1, -1 340 335 ar(nys_l-i,:) = ar(nys_l,:) 341 336 ENDDO 342 337 ENDIF 343 IF ( nest_bound_n .OR. force_bound_n ) THEN338 IF ( bc_dirichlet_n ) THEN 344 339 DO i = 1, nbgp_local 345 340 ar(nyn_l+i,:) = ar(nyn_l,:)
Note: See TracChangeset
for help on using the changeset viewer.