[petsc-dev] pc->setupcalled
Barry Smith
bsmith at mcs.anl.gov
Thu Mar 10 17:38:10 CST 2016
> On Mar 10, 2016, at 12:00 PM, Matthew Knepley <knepley at gmail.com> wrote:
>
> 0 means PCSetUp has never been called
> 1 means it has been called
>
> What is 2? I cannot find it defined anywhere.
It can never be two. The if (setupcalled < 2) { checks are left over from when the user had to indicate a change in the matrix. I have removed them in the branch barry/cleanup-pcsetupcalled merged to next for testing
>
> Matt
>
> --
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
More information about the petsc-dev
mailing list