New changes for CG set type in 2.3.1-p7 ?

abdul-rahman at tu-harburg.de abdul-rahman at tu-harburg.de
Thu Feb 23 09:29:42 CST 2006



On Wed, 22 Feb 2006, Satish Balay wrote:

I know where I did wrong now: the call below:

> > > >       call KSPCGSetType( ksp, KSP_CG_SYMMETRIC, ierr )

should have come _after_:

  call KSPSetFromOptions(ksp,ierr)

Otherwise it just goes with the default Hermitian even if I don't set the
switch to Hermitian.


> You should be able to verify if the correct type is used with
> '-ksp_view' option.
>
> Satish
>

Thank you again


Razi




More information about the petsc-users mailing list