broadcast_complex Subroutine

private subroutine broadcast_complex(z)

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
complex, intent(inout) :: z

Contents

Source Code


Source Code

  subroutine broadcast_complex (z)
    implicit none
    complex, intent (in out) :: z
# ifdef MPI
    integer :: ierror
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
    call mpi_bcast (z, 1, mpicmplx, 0, mp_comm, ierror)
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# else
    UNUSED_DUMMY(z)
# endif
  end subroutine broadcast_complex