[petsc-dev] preallocation checks

Jed Brown jedbrown at mcs.anl.gov
Fri Jan 20 11:02:14 CST 2012


On Fri, Jan 20, 2012 at 10:52, Barry Smith <bsmith at mcs.anl.gov> wrote:

> But what about a MatConvert_whatever_SeqAIJ() that uses MatGetRow() to
> determine counts for preallocation. We don't have such a beast?????


I think MatConvert_Basic should work that way, but you have to determine
whether values are in the diagonal block or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120120/47ee9559/attachment.html>


More information about the petsc-dev mailing list