[petsc-users] AMG options
Jarunan Panyasantisuk
jarunan at ascomp.ch
Wed Mar 14 05:53:19 CDT 2012
> - Is there a certain order in setting these options? Can I set it
> anywhere in my code e.g. after set -ksp_type?
>
>
> You can set it anywhere before PCSetFromOptions() which is probably
> called via KSPSetFromOptions or SNESSetFromOptions().
This could be one of the reason. I will check if there is any error as well.
>
>
> The things I am trying to do is to reuse the solvers and
> preconditioners for several equations and reset only their
> solver/preconds type. If you have any advice, I would appreciate.
>
>
> You are solving different equations several times and trying to reuse?
> Or you are iterating on a nonlinear problem?
The equations will be solved one after another. They are not solved at
the same time. Yes, it is iterative.
Thank you for you advice.
Jarunan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120314/3022fead/attachment.htm>
More information about the petsc-users
mailing list