[petsc-dev] SNESNONE type for nonlinear preconditioner?

Geoff Oxberry goxberry at gmail.com
Thu Mar 6 01:26:42 CST 2014


I saw Peter's talk at SIAM CSE 2013 and thought nonlinear preconditioning
looked really cool; now I have a problem where I want to try it out. I've
looked at snes/ex35, and it looks like adding one from options would
involve:

- calling SNESGetNPC to associate the nonlinear preconditioner SNES with an
outer SNES solver
- calling SNESSetType on the nonlinear preconditioner to set some default
value
- calling SNESGetFromOptions to set a new nonlinear preconditioner from
options (if available)

What if I want that nonlinear preconditioner to do nothing by default? Is
there an SNESNONE, comparable to PCNONE?

-- 
Geoffrey Oxberry, Ph.D., E.I.T.
goxberry at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140305/bf49248a/attachment.html>


More information about the petsc-dev mailing list