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 <[email protected]> wrote:

> Matthew Knepley <[email protected]> writes:
> > SNES ex19 uses 4 dof and is much simpler.
>
> Yes, but it doesn't insert matrix entries.
>

Reply via email to