[petsc-users] Matrix free SNES and Jacobian, function evaluations

Pearl Flath pflath at ices.utexas.edu
Wed Feb 9 14:22:15 CST 2011


Dear All,
I'd like to use the SNES nonlinear solvers. For my problem, evaluation of
the Jacobian and the right hand side function involves some identical steps.
I'd prefer not to repeat those, and instead have the Jacobian and function
calculation share some computations. Is there a way to do this? Does SNES
consistently evaluate one of them first, and thus I could have the other one
re-use that information? Or is there a way to tell SNES to call a general
update at each step before evaluating the Jacobian and function?

Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110209/9b32f30e/attachment.htm>


More information about the petsc-users mailing list