[petsc-users] Modify RHS values at each iteration
Zou (Non-US), Ling
ling.zou at inl.gov
Thu Jan 2 20:20:25 CST 2014
Thanks a lot.
On Thu, Jan 2, 2014 at 3:20 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> "Zou (Non-US), Ling" <ling.zou at inl.gov> writes:
>
> > Hi Jed. I have a similar situation here. I am intentionally testing an
> > iterative method. It requires me to do some handling (for example copying
> > the current solution vector out) right after a nonlinear iteration is
> > finished, but before anything happening of the next nonlinear iteration.
> Is
> > there any way to do so?
>
> Put that in a SNES monitor or perhaps SNESLineSearchSetPostCheck.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140102/4e3e8c32/attachment.html>
More information about the petsc-users
mailing list