<div class="gmail_quote">On Fri, Apr 20, 2012 at 06:53, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":4n7">I am using SNES to solve a simple nonlinear system.<br>
My vector of unknowns (x) is ghosted, and before (i.e. with my own<br>
home brewed nonlinear solver) I had to always update the ghosted<br>
values after a linear solve with ksp. How can I now force the update,<br>
if I am not calling ksp myself?</div></blockquote></div><br><div>You should do the update in your residual evaluation routine.</div>