Send logical array to specified node
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(inout) | :: | array | |||
| integer, | intent(in) | :: | size | |||
| integer, | intent(in) | :: | to | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
subroutine comms_no_sync_send_logical(array, size, to, error, comm) !! Send logical array to specified node implicit none logical, intent(inout) :: array integer, intent(in) :: size integer, intent(in) :: to type(w90_comm_type), intent(in) :: comm type(w90_error_type), allocatable, intent(out) :: error #ifdef W90_MPI integer :: ierr call mpi_send(array, size, MPI_LOGICAL, to, mpi_send_tag, comm%comm, ierr) if (ierr .ne. MPI_SUCCESS) then call set_base_error(error, 'Error in comms_send_logical', code_mpi) return end if #endif end subroutine comms_no_sync_send_logical