[petsc-users] clarification of SNES / FormFunction

Jed Brown jedbrown at mcs.anl.gov
Tue May 8 08:07:02 CDT 2012


On Tue, May 8, 2012 at 7:04 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> I am currently assuming they are different and am using the "x" from
> the signature to set up my A(x) and b(x). I was thinking if they are
> the same (i.e. corresponding to x_n in the Newton method), I could
> significantly simplify my code. But apparently "x" in the signature is
> not simply x_n because of the involved line search, correct me if I am
> wrong.
>

Correct, they are not the same. How could it possibly simplify your code
"significantly"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120508/5df52fec/attachment.htm>


More information about the petsc-users mailing list