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