Scatter global variable values into local vectors from rank 0.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(MPIController), | intent(inout) | :: | this | |||
real(kind=rk), | intent(inout), | dimension(:) | :: | globVec |
Global vector on rank 0 to scatter from |
|
real(kind=rk), | intent(inout), | allocatable, dimension(:) | :: | localVec |
Local vector to scatter into |
|
logical, | intent(in) | :: | varIsDist |
Set to true if the scattered variable is a distribution |