[petsc-dev] DMGetMatrix --> DMGetMatrices?

Jed Brown jedbrown at mcs.anl.gov
Sat Feb 11 08:36:00 CST 2012


On Sat, Feb 11, 2012 at 08:32, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:

> This sounds fine to me, but what's the API for doing this? You want to do
> KSPSetDM() and PCSetDM(),
> so that the user has to explicitly pull out the PC to set its DM?
>

The PC *always* owns both matrices anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120211/b234bb12/attachment.html>


More information about the petsc-dev mailing list