dmmg residuals and AMG

Nicolas Bathfield nicolas.bathfield at chalmers.se
Mon Dec 11 06:58:50 CST 2006


 Hi,

I would like to compare PETSc DMMG convergence to some theoretical
convergence rate given by local Fourier analysis for a simple diffusion
problem.
To do so, I need to extract the residuals after each multigrid iteration.
Unfortunately, I only managed to obtain the residuals at the last iteration.
Is it possible to get the residual printed out after each multigrid
iteration without modifying the source code?

Furthermore, I'd like to test the AMG from the PC type from HYPRE
(boomeramg). I have already ran --download-hypre while compiling petsc. Is
there any example available somewhere?

Best regards,

Nicolas.
 --
 Nicolas BATHFIELD
 Chalmers University of Technology
 Shipping and Marine Technology
 phone: +46 (0)31 772 1476
 fax:   +46 (0)31 772 3699




More information about the petsc-users mailing list