[petsc-dev] DMGetMatrix --> DMGetMatrices?

Jed Brown jedbrown at mcs.anl.gov
Fri Feb 10 00:11:29 CST 2012


On Fri, Feb 10, 2012 at 00:02, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:

> Yes. And, by the way, preallocation for J and P could be different (e.g.,
> mass matrix vs lumped mass matrix for projection problems).  As could be
> the preferred MatType.


This is not easy to encode in a DM, the user should do the allocation in
this case (maybe another hook is needed).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120210/142bc80c/attachment.html>


More information about the petsc-dev mailing list