--- Begin Message ---
------------------------------------------------------------
revno: 6681
committer: Garth N. Wells <gnw20@xxxxxxxxx>
branch nick: mesh-parsing
timestamp: Wed 2012-04-11 21:51:05 +0800
message:
Change default PETSc amg preconditioner.
modified:
dolfin/la/PETScPreconditioner.cpp
--
lp:dolfin
https://code.launchpad.net/~dolfin-core/dolfin/trunk
Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/trunk/+edit-subscription
=== modified file 'dolfin/la/PETScPreconditioner.cpp'
--- dolfin/la/PETScPreconditioner.cpp 2012-02-28 19:20:28 +0000
+++ dolfin/la/PETScPreconditioner.cpp 2012-04-11 13:51:05 +0000
@@ -44,13 +44,15 @@
("sor", PCSOR)
("additive_schwarz", PCASM)
#if PETSC_HAVE_HYPRE
- ("amg", PCHYPRE)
("hypre_amg", PCHYPRE)
("hypre_euclid", PCHYPRE)
("hypre_parasails", PCHYPRE)
#endif
#if PETSC_HAVE_ML
+ ("amg", PCML)
("ml_amg", PCML)
+ #elif PETSC_HAVE_HYPRE
+ ("amg", PHYPRE)
#endif
;
--- End Message ---