[petsc-dev] MatSetValues with v=0

Patrick Lacasse patrick.m.lacasse at gmail.com
Fri Apr 11 12:51:41 CDT 2014


Hi,

   I see that implementation of MatSetValues handles a special case when
one passes a null pointer v=0.
In this case, it is considered that all values are 0.
But the documentation doesn't seems to talk about it :
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatSetValues.html

Is it a feature that we can use?
Should it be added to the doc?

Patrick Lacasse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140411/29f93dab/attachment.html>


More information about the petsc-dev mailing list