[petsc-dev] SNES, Coloring, DM, and TS

Jed Brown jedbrown at mcs.anl.gov
Sat Mar 3 16:54:19 CST 2012


On Tue, Feb 28, 2012 at 14:51, Barry Smith <bsmith at mcs.anl.gov> wrote:

> Let me restate the plan:
>
> We want to retain the current hierarchy: IS, Vec, Mat, DM, PC/KSP, SNES,
> TS. To do this we "cheat" slightly by having a PC/KSP part of the DM, a
> SNES part of DM and a TS part of DM that are implemented outside of the
> base _p_DM. In a sense they are subclasses of the base DM that support
> PC/KSP, SNES, and TS.  The fact that they are subclasses is represented in
> the method names DMSNESSetFunction() etc (note that Jed has it wrong above
> by putting the Set before the XXXX).
>

This is mostly implemented now, I'll push soon.

What was the rationale behind the silent early exit from
SNESComputeJacobian() if snes->ops->computejacobian as not set? I would
prefer explicitly setting a Jacobian routine that does nothing to this
behavior which I think is error prone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120303/1a372aa1/attachment.html>


More information about the petsc-dev mailing list