'Converts the given vector to a distributed multivector.
Parameters
local_vec : NumPy 1D array.
tag : The Elemental data type.
Returns
Elemental distributed multivector.'

@staticmethod
def distr_vec(local_vec, tag):

    import El
    vec = El.DistMultiVec(tag=tag)
    vec.Resize(local_vec.size, 1)
    for i in range(local_vec.size):
        vec.Set(i, 0, local_vec[i])
    return vec
