MPI LOGICAL OR reduction operation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(parallel_obj), | intent(inout) | :: | this |
Parallel object |
||
| logical, | intent(in) | :: | A(:) |
Send buffer |
||
| logical, | intent(out) | :: | B(:) |
Receive buffer |
impure subroutine parallel_obj_Lor_1d(this,A,B) !> MPI LOGICAL OR reduction operation. implicit none class(parallel_obj), intent(inout) :: this !! Parallel object logical, intent(in) :: A(:) !! Send buffer logical, intent(out) :: B(:) !! Receive buffer ! Work variables integer :: ierr call MPI_ALLREDUCE(A,B,size(A),this%LOGICAL,MPI_LOR,this%comm%g,ierr) return end subroutine parallel_obj_Lor_1d