<div class="gmail_quote">On Fri, Apr 20, 2012 at 07:08, Matthew Knepley <span dir="ltr">&lt;<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>You can use</div><div><br></div><div>  <a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESSetUpdate.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESSetUpdate.html</a></div>

<div></div></blockquote></div><br><div>Please don&#39;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.</div>