GMRES/FGMRES and KSP_NORM_NO

Lisandro Dalcin dalcinl at gmail.com
Wed Aug 29 15:01:29 CDT 2007


On 8/29/07, Barry Smith <bsmith at mcs.anl.gov> wrote:
> On Wed, 29 Aug 2007, Lisandro Dalcin wrote:
> > Now, other issue, regarding this adition. Currently, passing
> > '-ksp_norm_type NO' ALSO set KSPSkipConverged. Should I remove that?
>
>   No, I think it should remain the same.

OK, but then there is something that is a bit confusing IMHO,

1- if you use command line your automatically get KSP_NORM_NO + KSPSkipConverged

1- if you call KSPSetNormType(ksp, KSP_NORM_NO), you do not get
SkipConverged. Perhaps KSPSetNormType() should be in charge of setting
SkipConverged()? Or is  this too much second-guessing the user?


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594




More information about the petsc-dev mailing list