[petsc-users] DMDA questions

Xiangdong epscodes at gmail.com
Tue Feb 25 15:10:28 CST 2014


For the MatSetValuesStencil, should it always work in pair with
DMCreateMatrix?

However, in some example, e.g., src/ksp/ksp/examples/tutorials/ex25.c, the
DMCreateMatrix is never called. Is it because KspSetComputeOperators is
used and DMCreateMatrix is called implicitly somewhere?

Thank you.

Xiangdong


On Tue, Feb 25, 2014 at 2:35 PM, Jed Brown <jed at jedbrown.org> wrote:

> Matthew Knepley <knepley at gmail.com> writes:
> > SNES ex19 uses 4 dof and is much simpler.
>
> Yes, but it doesn't insert matrix entries.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140225/2d48f908/attachment.html>


More information about the petsc-users mailing list