[petsc-users] SNESSetFunction and MatMFFDSetFunction

Jed Brown jedbrown at mcs.anl.gov
Thu Jan 2 09:20:37 CST 2014


Song Gao <song.gao2 at mail.mcgill.ca> writes:

> Thanks, Barry.
>
> I mean 2) providing a function that I want PETSc to difference to evaluate
> the matrix vector product.
>
> I want to make a slight modification of the matrix after PETSc evaluate the
> matrix vector product. 

Performing a matrix-vector product is not supposed to modify the matrix.
It's unlikely that you really want this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140102/91db3720/attachment-0001.pgp>


More information about the petsc-users mailing list