[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VecGetValue?



billy@dem.uminho.pt writes:

> Hi,
>
> Why does PETSc have a VecSetValue and not a VecGetValue?

  We could introduce one, but its not usually what you want since it
would require a collective Assemble() call before you could use the value.
You can accomplish the same thing with a scatter.

    Matt
-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness