[petsc-dev] GASM

Jed Brown jedbrown at mcs.anl.gov
Thu Mar 29 11:05:20 CDT 2012


On Thu, Mar 29, 2012 at 09:38, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:

> I guess that works too, but I thought your suggestion applied to userland
> code right before calling KSPDestroy(&ksp)?
> I suppose that will fix Mark's problem.  Maybe that's the right approach:
> he got himself into this mess by reusing a pc
> in the inner ksp, he should know how to extricate himself :-)
>

At first blush, I think the interface is better to do it inside KSPDestroy.
I don't think PCReset should be called in that context except via PCDestroy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120329/2c2ef87a/attachment.html>


More information about the petsc-dev mailing list