[petsc-dev] PetscObjectStateQuery now PetscObjectStateGet private

Patrick Lacasse patrick.m.lacasse at gmail.com
Mon Sep 23 10:33:39 CDT 2013


Hi,

   We use PetscObjectStateQuery as a way to know if our mat has changed.
Now that it is private (and renamed), is there a better way to do this?
Our code is really complicated and it would be very hard to maintain such a
(redundant) state in our side.
We mainly use this knowledge to give it to KSPSetOperator, would it be nice
that KSPSetOperator just guess SAME_PRECONDITIONER when the state (and the
mat) is the same?

Patrick Lacasse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130923/37fe4020/attachment.html>


More information about the petsc-dev mailing list