<div dir="ltr"><div dir="ltr"><a href="https://bitbucket.org/petsc/petsc/pull-requests/1527/dev-manual-add-deprecation-instructions/diff">https://bitbucket.org/petsc/petsc/pull-requests/1527/dev-manual-add-deprecation-instructions/diff</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 9. Apr. 2019 um 19:52 Uhr schrieb Jed Brown via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I think this would have the desired effect.<br>
<br>
diff --git i/include/petscksp.h w/include/petscksp.h<br>
index 7b1e877e29..b0fddedfcd 100644<br>
--- i/include/petscksp.h<br>
+++ w/include/petscksp.h<br>
@@ -448,6 +448,7 @@ typedef enum {/* converged */<br>
               KSP_DIVERGED_NANORINF            = -9,<br>
               KSP_DIVERGED_INDEFINITE_MAT      = -10,<br>
               KSP_DIVERGED_PC_FAILED           = -11,<br>
+              KSP_DIVERGED_PCSETUP_FAILED PETSC_DEPRECATED("Use KSP_DIVERGED_PC_FAILED") = -11,<br>
<br>
               KSP_CONVERGED_ITERATING          =  0} KSPConvergedReason;<br>
 PETSC_EXTERN const char *const*KSPConvergedReasons;<br>
<br>
<br>
Matthew Knepley via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>> writes:<br>
<br>
> This change:<br>
><br>
><br>
> <a href="https://bitbucket.org/petsc/petsc/commits/c0decd05c6848b80907752eef350b55c8c90e696#Linclude/petscksp.hF448" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/c0decd05c6848b80907752eef350b55c8c90e696#Linclude/petscksp.hF448</a><br>
><br>
> breaks the current LibMesh, and I am assuming other things. Do we have a<br>
> deprecation strategy for this? How about we #define that old name to the<br>
> same value for one release? We could do this<br>
> in 3.11.1.<br>
><br>
>   Thanks,<br>
><br>
>     Matt<br>
><br>
> -- <br>
> What most experimenters take for granted before they begin their<br>
> experiments is infinitely more interesting than any results to which their<br>
> experiments lead.<br>
> -- Norbert Wiener<br>
><br>
> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a> <<a href="http://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>><br>
</blockquote></div>