[petsc-users] KSPSetOperators(ksp, A, A, SAME_NONZERO_PATTERN) does not work any more

Hong hzhang at mcs.anl.gov
Sun Aug 7 15:58:20 CDT 2016


   - 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, 丁老师 <ztdepyahoo at 163.com> 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
>
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160807/4330b559/attachment.html>


More information about the petsc-users mailing list