Gathers locally-updated 3D vector cell values and broadcasts to the global mesh.
This optimized version performs a single MPI_Allgatherv for all 3 components to minimize communication latency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(flow_mpi_t), | intent(inout) | :: | flow | |||
| real(kind=rk), | intent(in) | :: | local_global(:,:) | |||
| real(kind=rk), | intent(out) | :: | global(:,:) |
subroutine flow_allgather_owned_vector(flow, local_global, global) type(flow_mpi_t), intent(inout) :: flow real(rk), intent(in) :: local_global(:,:) real(rk), intent(out) :: global(:,:) call flow_allgather_owned_matrix(flow, local_global, global) end subroutine flow_allgather_owned_vector