[petsc-users] Solve a 1d non linear equation in petsc

Matthew Knepley knepley at gmail.com
Tue May 22 04:55:25 CDT 2018

On Tue, May 22, 2018 at 5:47 AM, Edoardo alinovi <edoardo.alinovi at gmail.com>

> Dear PETSC users,
> I need to solve a simple equation of the type f(x)=0. f is a non linear
> operator  and I know its analytical form. This operation has to be done
> locally inside a processor domain. I suppose that petsc provides a very
> usefull way to carry out this. Would you please suggest me a proper way?

Solve it with SNES, exactly as you would a system of equations.



> Many thanks,
> Edoardo

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

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180522/68b8cc24/attachment.html>

More information about the petsc-users mailing list