[petsc-dev] DMGetMatrix --> DMGetMatrices?

Jed Brown jedbrown at mcs.anl.gov
Fri Feb 10 00:01:04 CST 2012


On Thu, Feb 9, 2012 at 23:55, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:

> In a somewhat related matter, it appears that I cannot duplicate a
> preallocated MATXXXAIJ until it has been assembled:
> if my DM implementation keeps a preallocated MATSEQAIJ, which it wants to
> duplicate on every call to DMGetMatrix,
> it would have to put in fake entries before any duplication is possible.
>

Doesn't it already do this (inserting 0)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120210/4f91c906/attachment.html>


More information about the petsc-dev mailing list