[petsc-users] MatCopy and MatSetValue consume most 99 percentage of runtime

Jed Brown jed at 59A2.org
Wed Apr 20 07:02:43 CDT 2011


On Wed, Apr 20, 2011 at 13:46, Vijay S. Mahadevan <vijay.m at gmail.com> wrote:

> Thanks for the clarification Jed. But zeroing more entries than necessary
> would still trigger malloc calls. Would it not ?


It won't zero more than you allocated but it might zero more than you will
actually insert. It doesn't matter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110420/abb8dc0e/attachment.htm>


More information about the petsc-users mailing list