[petsc-users] Changing a few entries in a matrix

Jed Brown jed at jedbrown.org
Fri May 8 16:19:31 CDT 2015


Ganesh Vijayakumar <ganesh.iitm at gmail.com> writes:
>   Can I overwrite any entries without incurring additional cost in memory?
> I currently use MatSetValue with the option INSERT_VALUES? Does Petsc have
> an option to OVERWRITE the existing value?

INSERT_VALUES is it, in contrast to ADD_VALUES.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150508/b66f83aa/attachment.pgp>


More information about the petsc-users mailing list