Changeset 4581 for palm/trunk/SOURCE/flow_statistics.f90
- Timestamp:
- Jun 29, 2020 8:49:58 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/flow_statistics.f90
r4551 r4581 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Formatting adjustment 28 ! 29 ! 4551 2020-06-02 10:22:25Z suehring 27 30 ! Bugfix in summation for statistical regions 28 31 ! … … 1883 1886 IF ( air_chemistry .AND. max_pr_cs > 0 ) THEN 1884 1887 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 1885 1886 CALL MPI_ALLREDUCE( sums_l(nzb,pr_palm+max_pr_user+i,0),&1887 sums(nzb,pr_palm+max_pr_user+i),&1888 1889 1888 DO i = 1, max_pr_cs 1889 CALL MPI_ALLREDUCE( sums_l(nzb,pr_palm+max_pr_user+i,0), & 1890 sums(nzb,pr_palm+max_pr_user+i), & 1891 nzt+2-nzb, MPI_REAL, MPI_SUM, comm2d, ierr ) 1892 ENDDO 1890 1893 ENDIF 1891 1894 1892 1895 IF ( salsa .AND. max_pr_salsa > 0 ) THEN 1893 1896 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 1894 1895 CALL MPI_ALLREDUCE( sums_l(nzb,pr_palm+max_pr_user+max_pr_cs+i,0),&1896 sums(nzb,pr_palm+max_pr_user+max_pr_user+i),&1897 1898 1897 DO i = 1, max_pr_salsa 1898 CALL MPI_ALLREDUCE( sums_l(nzb,pr_palm+max_pr_user+max_pr_cs+i,0), & 1899 sums(nzb,pr_palm+max_pr_user+max_pr_user+i), & 1900 nzt+2-nzb, MPI_REAL, MPI_SUM, comm2d, ierr ) 1901 ENDDO 1899 1902 ENDIF 1900 1903
Note: See TracChangeset
for help on using the changeset viewer.