initial values of matrix and vector

Matthew Knepley knepley at
Tue Feb 24 16:27:54 CST 2009

On Tue, Feb 24, 2009 at 4:24 PM, Yixun Liu <enjoywm at> wrote:

> How about Mat or Vec Duplicate?
>  VecDuplicate(v1, &v2);
> v2  will be set to be zero automatically?



What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list