← Back to team overview

dolfin team mailing list archive

Re: Stokes in DOLFIN

 



Anders Logg wrote:

For the linear algebra we have Petsc + Hypre giving access to a range of
parallel Krylov based solvers plus algebraic multigrid.

Yes. One thing we should do is to find out how to specify AMG as a
preconditioner without having to do it through the command-line with
-pc_type hypre -pc_hypre_type boomeramg.

This isn't so painful, just use

PCSetType(PC pc, PCHYPRE );
PCHYPRESetType(PC pc,"boomeramg");


Inside your code with the right PC and what not. Other options can be set with PetscOptionSetValue() calls.

Andy

--

====================
Andy Terrel
Computer Science Dept
University of Chicago
aterrel@xxxxxxxxxxxx
---------------------




Follow ups

References