[petsc-users] SNES Form FunctionAndJacobian

Jed Brown jedbrown at mcs.anl.gov
Fri Feb 22 15:38:50 CST 2013


http://www.mcs.anl.gov/petsc/documentation/faq.html#functionjacobian


On Fri, Feb 22, 2013 at 3:37 PM, Bernardo Rocha <
bernardomartinsrocha at gmail.com> wrote:

> Hi everyone,
>
> 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.
>
> Thanks,
> Bernardo M. R.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130222/766aec50/attachment.html>


More information about the petsc-users mailing list