Skip to content

Commit

Permalink
nitpicking
Browse files Browse the repository at this point in the history
  • Loading branch information
p-costa committed Jul 8, 2022
1 parent ee4f83d commit a53769d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/initmpi.f90
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ subroutine initmpi(my_block,nblocks,id_first,dims,cbc,bc,is_periodic,periods, &
call MPI_BCAST(lo_g,3,MPI_INTEGER,0,comm_block)
hi_g(:) = lo_g(:)+ng(:)-1
!
! determine size of the domain in the periodic direction
! determine size of the domain in the periodic directions
!
call MPI_ALLREDUCE(lo_g(1),lo_g_min(1),3,MPI_INTEGER,MPI_MIN,MPI_COMM_WORLD)
call MPI_ALLREDUCE(hi_g(1),hi_g_max(1),3,MPI_INTEGER,MPI_MAX,MPI_COMM_WORLD)
Expand Down
2 changes: 1 addition & 1 deletion src/param.f90
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ subroutine read_input()
vol_all = product(lmax(:)-lmin(:))/product(dims(:))
call mpi_allreduce(MPI_IN_PLACE,vol_all,1,MPI_REAL_RP,MPI_SUM,MPI_COMM_WORLD,ierr)
!
! determine length of the domain in the periodic direction
! determine length of the domain in the periodic directions
!
call MPI_ALLREDUCE(lmin(1),lmin_min(1),3,MPI_REAL_RP,MPI_MIN,MPI_COMM_WORLD,ierr)
call MPI_ALLREDUCE(lmax(1),lmax_max(1),3,MPI_REAL_RP,MPI_MAX,MPI_COMM_WORLD,ierr)
Expand Down

0 comments on commit a53769d

Please sign in to comment.