On Sep 23, 2013, at 10:33 AM, Patrick Lacasse <[email protected]> 
wrote:

> 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,

I've added this to our issues 
https://bitbucket.org/petsc/petsc/issue/50/eliminate-the-need-for-matstructure-flag
   We agree it would be nice to eliminate the need to handle this manually.

   Barry



> 
> Patrick Lacasse

Reply via email to