[petsc-users] PCComposite

Jed Brown jedbrown at mcs.anl.gov
Mon May 28 10:29:39 CDT 2012


On Mon, May 28, 2012 at 10:25 AM, Hui Zhang <mike.hui.zhang at hotmail.com>wrote:

> But I'm not *changing* the operator. It is PCSetUp_Composite that call
> PCSetOperators on sub pc
> a second time-- he does not know that the sub pc has been set up before.
>

Why do you call PCSetUp the first time?

We don't currently have a mechanism to automatically know whether the
operator has changed since the last setup, that's what the flag argument is
for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120528/068f6b0a/attachment.html>


More information about the petsc-users mailing list