<div dir="ltr"><a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#functionjacobian">http://www.mcs.anl.gov/petsc/documentation/faq.html#functionjacobian</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 22, 2013 at 3:37 PM, Bernardo Rocha <span dir="ltr"><<a href="mailto:bernardomartinsrocha@gmail.com" target="_blank">bernardomartinsrocha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<div><br></div><div>I´m using SNES to solve nonlinear problems in elasticity. I was wondering if it is possible to configure SNES for calling a single function like FormFunctionAndJacobian to compute the residual and jacobian at the same time since this is the way I was doing before using SNES in my finite element routines...An example would be a good starting point.</div>
<div><br></div><div>Thanks,</div><div>Bernardo M. R.</div>
</blockquote></div><br></div>