[petsc-users] Hypre through Petsc: BoomerAMG options

Matthew Knepley knepley at gmail.com
Thu Aug 30 11:11:57 CDT 2012


On Thu, Aug 30, 2012 at 10:58 AM, Arun Kamath <arun.kamath.m at gmail.com>wrote:

> Hei!
> As per Barry's instructions, to introduce the "relax type" routine for the
> BoomerAMG solver I used:
>
>           ierr=PCSetFromOptions_HYPRE_BoomerAMG(pc); (as per function
> definition in hypre.c)
>

No, you just call PCSetFrmOptions(pc) and it will dispatch to the correct
function.

   Matt


> and on building :
>
> 'PCSetFromOptions_HYPRE_BoomerAMG' was not declared in this scope
>
> So am I probably missing a header file? As of now I have only <petscksp.h>.
> Or am I calling it wrong?
> Thanks.
>
>


-- 
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/20120830/a86fcddd/attachment.html>


More information about the petsc-users mailing list