A helper routine to broadcast a sparse vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | num_values |
Number of values we are broadcasting. |
||
integer, | intent(inout), | DIMENSION(:) | :: | indices |
Indices to broadcast. |
|
real(kind=NTREAL), | intent(inout), | DIMENSION(:) | :: | values |
Values to broadcast. |
|
integer, | intent(in) | :: | root |
Root from which we broadcast. |
||
integer, | intent(inout) | :: | comm |
Communicator to broadcast along. |