On Fri, Apr 20, 2012 at 06:53, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
> I am using SNES to solve a simple nonlinear system. > My vector of unknowns (x) is ghosted, and before (i.e. with my own > home brewed nonlinear solver) I had to always update the ghosted > values after a linear solve with ksp. How can I now force the update, > if I am not calling ksp myself? > You should do the update in your residual evaluation routine. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120420/ad7d419b/attachment.htm>
