[cig-commits] commit 2275 by heister to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Tue Jan 21 10:28:17 PST 2014


Revision 2275

use block jacobi for PETSc (which is ILU on each processor)

U   trunk/aspect/include/aspect/global.h


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2275&peg=2275

Diff:
Modified: trunk/aspect/include/aspect/global.h
===================================================================
--- trunk/aspect/include/aspect/global.h	2014-01-21 13:44:09 UTC (rev 2274)
+++ trunk/aspect/include/aspect/global.h	2014-01-21 18:27:57 UTC (rev 2275)
@@ -23,6 +23,7 @@
 #ifndef __aspect__global_h
 #define __aspect__global_h
 
+// uncomment this to use PETSc for linear algebra
 //#define USE_PETSC
 
 #ifdef USE_PETSC
@@ -120,7 +121,7 @@
      * for other blocks of the system matrix. Note that PETSc does not
      * support a communicating ILU, so we use Jacobi here.
      */
-    typedef PETScWrappers::PreconditionJacobi PreconditionILU;
+    typedef PETScWrappers::PreconditionBlockJacobi PreconditionILU;
 
     typedef LinearAlgebraPETSc::MPI::CompressedBlockSparsityPattern CompressedBlockSparsityPattern;
 


More information about the CIG-COMMITS mailing list