[petsc-users] How to change KSP tolerance during SNES steps

Matthew Knepley knepley at gmail.com
Thu Apr 26 09:56:09 CDT 2012


On Thu, Apr 26, 2012 at 10:42 AM, behzad baghapour <
behzad.baghapour at gmail.com> wrote:

> I already did it by changing level of fill of PC of KSP, but I received
> the following error:
>
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Object is in wrong state!
> [0]PETSC ERROR: Cannot change levels after use!
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
>

You will have to recreate the ILU object if you want to change the level of
fill.

   Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120426/1524c3c3/attachment.htm>


More information about the petsc-users mailing list