VecGetValue?

Matthew Knepley knepley at mcs.anl.gov
Wed Feb 22 15:20:46 CST 2006


billy at 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




More information about the petsc-users mailing list