[petsc-users] Convergence Criteria?

Alan Wei zhenglun.wei at gmail.com
Mon Sep 19 21:28:51 CDT 2011


Thanks, Dr. Smith.
   I guess my BC's settings are wrong. I will check and contact you if I
have further questions. Thanks again.

best,
Alan

On Mon, Sep 19, 2011 at 8:43 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On Sep 19, 2011, at 6:25 PM, Alan Wei wrote:
>
> > Dear folks,
> >     I hope you guys are having a nice day.
> >     I'm reading the /src/ksp/ksp/examples/tutorials/ex29.c.html and
> wonder how to set up the convergence criteria?
>
>    -ksp_rtol 1.e-10 for example
>
>   Run with -ksp_monitor_true_residual -ksp_converged_reason
>
>
> > Currently I use it as a poisson solver to solve a Poisson Equation with
> three direction Neumann BC's and one direction Diriechlet BC's. It seems
> very bad on it.
>
>     Hmm, multigrid should likely converge well. Are you sure you've set the
> BC's correctly?
>
>   Barry
>
> >
> > thanks in advance,
> > Alan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110919/60c67102/attachment.htm>


More information about the petsc-users mailing list