I haven't tried the FD Jacobian. How do I enable that? I have been providing the Jacobian.
On Tue, Jun 2, 2015 at 4:59 PM, Matthew Knepley <[email protected]> wrote: > On Tue, Jun 2, 2015 at 3:55 PM, Harshad Sahasrabudhe <[email protected]> > wrote: > >> Hi, >> >> Does PETSc have automatic differentiation capability? I'm solving an >> elliptic non-linear equation in which calculating the correct Jacobian is >> extremely demanding. The system doesn't converge with an approximate >> Jacobian. Is there any SNES solver I should try which doesn't use a >> Jacobian? >> > > Do you mean it does not converge with the default FD Jacobian? > > Matt > > >> Thanks, >> Harshad >> > > > > -- > 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 >
