[petsc-users] Modify RHS values at each iteration

Jed Brown jedbrown at mcs.anl.gov
Thu Jan 2 16:20:34 CST 2014


"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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140102/845d6f1d/attachment.pgp>


More information about the petsc-users mailing list