[petsc-users] KSPMonitorSingularValue

Matthew Knepley knepley at gmail.com
Thu Oct 20 10:29:29 CDT 2011


On Thu, Oct 20, 2011 at 3:15 PM, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> Thanks for all the answers!
>
> First, I would like to see something printed to stdout, right now I don't.
> Assuming my KSPMonitorSet call is correct, could it be that I don't
> see anything because I'm using FGMRES? Should I get a warning
> when using this monitor with any other KSP beside CG and GMRES?
>

If you just want to see the monitor, why not use the command line or
PetscOptionsSetValue()?

   Matt


> Second, I have a case where FGMRES stagnates with my custom
> PC. I would like to get an impression of the extreme eigenvalues after
> applying the PC. If the estimates are only trustworthy upon
> convergence, then it's useless of course...
>
> The setting is Navier-Stokes, colocated FVM, matrix-free Krylov-Picard
> with SIMPLE preconditioning. It works for most case but stagnates
> for this particular case although SIMPLE as solver does converge nicely.
>
>
> dr. ir. Christiaan Klaij
> CFD Researcher
> Research & Development
> E mailto:C.Klaij at marin.nl
> T +31 317 49 33 44
>
> MARIN
> 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
> T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
>
>


-- 
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/20111020/9a67d3f2/attachment.htm>


More information about the petsc-users mailing list