[petsc-users] Trouble understanding -vec_view output.

Jed Brown jed at 59A2.org
Mon Feb 14 11:13:29 CST 2011


On Mon, Feb 14, 2011 at 18:01, Gaurish Telang <gaurish108 at gmail.com> wrote:

> 0
> 0
> 4
> 6
>
> But with VecGetSize I get the vector length to be 2. !!!
>

Looks like the vector is printed twice, once when it was created and once
after meaningful values were actually loaded. Does this still happen with
the different loading model in petsc-dev?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110214/59bcbfcb/attachment.htm>


More information about the petsc-users mailing list