[petsc-users] SNES and ghosted vector of unknowns

Jed Brown jedbrown at mcs.anl.gov
Fri Apr 20 09:13:41 CDT 2012


On Fri, Apr 20, 2012 at 07:08, Matthew Knepley <knepley at gmail.com> wrote:

> You can use
>
>
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESSetUpdate.html
>

Please don't do it this way, line searches and other methods will not work.
A ghosted vector is defined by the global entries, not the local form.
Update the local form when you want it to be current.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120420/c3da2053/attachment.htm>


More information about the petsc-users mailing list