[petsc-users] questions about the multigrid framework
Jed Brown
jed at 59A2.org
Mon Feb 7 10:53:36 CST 2011
On Mon, Feb 7, 2011 at 17:49, Peter Wang <pengxwang at hotmail.com> wrote:
> If I need to run with option -ksp_monitor_true_residual
> -ksp_converged_reason , I should add some lines like:
> call PetscOptionsHasName<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Sys/PetscOptionsHasName.html#PetscOptionsHasName>
> ()
> call KSPGetConvergedReason()
> Am I right?
>
This is insane, just be sure to call KSPSetFromOptions() and then all the
options will work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110207/d8483dbf/attachment.htm>
More information about the petsc-users
mailing list