Changeset 680 for palm/trunk/SOURCE/pres.f90
- Timestamp:
- Feb 4, 2011 11:16:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pres.f90
r676 r680 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 7 ! gryschka 8 ! bugfix in case of collective_wait 6 9 ! 7 10 ! Former revisions: … … 118 121 ! 119 122 !-- Left/right 123 120 124 IF ( conserve_volume_flow .AND. ( outflow_l .OR. outflow_r ) ) THEN 121 125 … … 138 142 139 143 #if defined( __parallel ) 140 IF ( collective_wait ) CALL MPI_BARRIER( comm 2d, ierr )144 IF ( collective_wait ) CALL MPI_BARRIER( comm1dy, ierr ) 141 145 CALL MPI_ALLREDUCE( volume_flow_l(1), volume_flow(1), 1, MPI_REAL, & 142 146 MPI_SUM, comm1dy, ierr ) … … 177 181 178 182 #if defined( __parallel ) 179 IF ( collective_wait ) CALL MPI_BARRIER( comm 2d, ierr )183 IF ( collective_wait ) CALL MPI_BARRIER( comm1dx, ierr ) 180 184 CALL MPI_ALLREDUCE( volume_flow_l(2), volume_flow(2), 1, MPI_REAL, & 181 185 MPI_SUM, comm1dx, ierr ) … … 547 551 548 552 ENDIF 549 553 print*, "cc" 550 554 ! 551 555 !-- Correction of the provisional velocities with the current perturbation … … 648 652 ENDIF 649 653 654 650 655 ! 651 656 !-- Conserve the volume flow
Note: See TracChangeset
for help on using the changeset viewer.