[petsc-dev] Chebyshev hybrid option has no functional interface or man pages

Barry Smith bsmith at mcs.anl.gov
Thu Mar 13 21:34:00 CDT 2014


On Mar 13, 2014, at 9:22 PM, Jed Brown <jed at jedbrown.org> wrote:

> This is Hong's code.  I don't believe in this method.  ;-)

  Yup and if Hong believes in it she should add the support.

   But wait, you are questioning the publication of three gods of ad hoc numerical linear algebra??  Howard Elman and Y. Saad and P. E. Saylor. Founding members of the "if it sounds good and we thought about it for two hours we’ll publish it crowd"

   Barry


> 
> Barry Smith <bsmith at mcs.anl.gov> writes:
> 
>>  There should be a functional interface for turning this on and off with a manual page.
>> 
>>   Barry
>> 
>>  /*
>>   Use hybrid Chebyshev.
>>   Ref: "A hybrid Chebyshev Krylov-subspace algorithm for solving nonsymmetric systems of linear equations",
>>         Howard Elman and Y. Saad and P. E. Saylor, SIAM Journal on Scientific and Statistical Computing, 1986.
>>   */
>>  ierr = PetscOptionsBool("-ksp_chebyshev_hybrid","Use hybrid Chebyshev","",cheb->hybrid,&cheb->hybrid,NULL);CHKERRQ(ierr);
>>  ierr = PetscOptionsInt("-ksp_chebyshev_hybrid_chebysteps","Number of Chebyshev steps in hybrid Chebyshev","",cheb->chebysteps,&cheb->chebysteps,NULL);CHKERRQ(ierr);
>>  ierr = PetscOptionsInt("-ksp_chebyshev_hybrid_eststeps","Number of adaptive/est steps in hybrid Chebyshev","",cheb->eststeps,&cheb->eststeps,NULL);CHKERRQ(ierr);
>>  ierr = PetscOptionsBool("-ksp_chebyshev_hybrid_purification","Use purification in hybrid Chebyshev","",cheb->purification,&cheb->purification,NULL);CHKERRQ(ierr);




More information about the petsc-dev mailing list