scatterVar Interface

interface
private module subroutine scatterVar(this, globVec, localVec, varIsDist)

Arguments

Type IntentOptional 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

Description

Scatter global variable values into local vector from rank 0.