Changeset 4855 for palm/trunk/SOURCE/pres.f90
- Timestamp:
- Jan 25, 2021 12:30:54 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pres.f90
r4828 r4855 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: mean w removal not applied to ghost points of the total domain in case of non-cyclic 28 ! setups 29 ! 30 ! 4828 2021-01-05 11:21:41Z Giersch 27 31 ! Bugfix in OpenMP directives - intel compiler do not allow reduction operations on array elements 28 32 ! … … 357 361 w_l(k) = w_l(k) / ngp_2dh_outer(k,0) 358 362 ENDDO 359 DO i = nxl g, nxrg360 DO j = nys g, nyng363 DO i = nxl, nxr 364 DO j = nys, nyn 361 365 DO k = nzb+1, nzt 362 366 w(k,j,i) = w(k,j,i) - w_l(k) & … … 365 369 ENDDO 366 370 ENDDO 371 ! 372 !-- Instead of running the above loop over ghost points, they are set via exchange_horiz, 373 !-- in order to correctly consider non-cyclic boundary conditions, where ghost boundaries 374 !-- of the total domain must not be set. Otherwise w may continuously increase/decrease 375 !-- at these points. 376 CALL exchange_horiz( w, nbgp ) 367 377 ENDIF 368 378
Note: See TracChangeset
for help on using the changeset viewer.