- KSPSetOperators() no longer has the MatStructure argument. The Mat objects now track that information themselves. Use KPS/PCSetReusePreconditioner() to prevent the recomputation of the preconditioner if the operator changed in the way that SAME_PRECONDITIONER did with KSPSetOperators()
see http://www.mcs.anl.gov/petsc/documentation/changes/35.html Hong On Sun, Aug 7, 2016 at 2:59 AM, 丁老师 <[email protected]> wrote: > Dear friends: > I just update to 3.6.3, but the command " > KSPSetOperators(ksp,A,A,SAME_NONZERO_PATTERN)" does not work any more. > could you please give me some suggestions > Regards > > > > > > > > > > > >
