[petsc-dev] GASM

Jed Brown jedbrown at mcs.anl.gov
Thu Mar 29 10:13:54 CDT 2012


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

> Back to the original problem: how shall we prevent a shared pc from being
> gutted by an unprotected PCReset() cascading from a KSPDestroy() on one of
> the containing ksps?  I can factor out KSPReset_Private()/PCReset_Private()
> as indicated before, unless there are objections.
>

 What do you think of my suggestion of masking ksp->pc when KSPDestroy
calls KSPReset? Then KSPReset does not call PCReset if ksp->pc does not
exist.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120329/5527ab07/attachment.html>


More information about the petsc-dev mailing list