MPI Broadcast operation from root rank.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(parallel_obj), | intent(inout) | :: | this |
Parallel object |
||
| logical, | intent(inout) | :: | A |
Send buffer |
impure subroutine parallel_obj_Bcast_log_0d(this,A) !> MPI Broadcast operation from root rank. implicit none class(parallel_obj), intent(inout) :: this !! Parallel object logical, intent(inout) :: A !! Send buffer ! Work variables integer :: ierr call MPI_BCAST(A,1,MPI_LOGICAL,this%RootRank-1,this%comm%g,ierr) return end subroutine parallel_obj_Bcast_log_0d