]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
step-32: construct solver correctly
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 16 Jun 2013 22:15:05 +0000 (22:15 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 16 Jun 2013 22:15:05 +0000 (22:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29832 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/step-32.cc

index c8411483f4e6ec8c72779a05295e9b26501d5375..c7147c378ad558e727b56cfc9b304bea78a0a606 100644 (file)
@@ -278,7 +278,7 @@ namespace Step32
           {
             SolverControl solver_control(5000, utmp.l2_norm()*1e-2);
 #ifdef USE_PETSC_LA
-            PETScWrappers::SolverCG solver(solver_control);
+            PETScWrappers::SolverCG solver(solver_control, MPI_COMM_WORLD);
 #else
             TrilinosWrappers::SolverCG solver(solver_control);
 #endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.