Matthew Knepley knepley at
Wed Feb 22 15:20:46 CST 2006

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

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

More information about the petsc-users mailing list