On Mon, Jun 12, 2017 at 11:17 PM, Jed Brown <j...@jedbrown.org> wrote:

> David Knezevic <david.kneze...@akselos.com> writes:
> > Though the issue I'm running into now is that I'm using a PETSc SNES
> object
> > to do the nonlinear solve, and it's not clear to me whether or not I can
> > clear and reinit the Jacobian within a SNES iteration
>
> SNES allows you to change the matrix in SNESComputeJacobian.  The
> dimensions can't change, obviously.
>

Great, thanks for letting me know! I don't need to change the dimensions,
so this should work fine.

Thanks,
David
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to