[petsc-dev] SNES with linear operator

Matthew Knepley knepley at gmail.com
Sun Sep 1 18:00:59 CDT 2013


On Sun, Sep 1, 2013 at 5:54 PM, Mark F. Adams <mfadams at lbl.gov> wrote:

> I have a SNES solver that runs with a linear operator at times.  I use
> -ksp_ksponly.  The KSPSetOperator seems to get called every solve because
> the PC setup code gets called every solve.  Should this be happening?


Is there a problem with it getting called? I think that is the right way to
do it.

Separately, I think we should have options in the manual and on the FAQ for
reducing SNES to just a linear solve with nothing else.

   Matt


>
> Mark




-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130901/c911695d/attachment.html>


More information about the petsc-dev mailing list