← Back to team overview

dolfin team mailing list archive

[noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/trunk] Rev 6681: Change default PETSc amg preconditioner.]

 

How does ML compare to Hypre?

--
Anders
--- 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 ---

Follow ups