]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix bug in PETSc BlockVector
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Jun 2013 22:08:53 +0000 (22:08 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Jun 2013 22:08:53 +0000 (22:08 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29793 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/petsc_parallel_block_vector.cc

index 45dbc8d1b15d8558b0b320e3f1931d59ef8553e6..c9b40814c063ce4ca3bbb7ec644eb5ca2b9774e8 100644 (file)
@@ -48,7 +48,7 @@ namespace PETScWrappers
         this->components.resize(this->n_blocks());
 
       for (unsigned int i=0; i<this->n_blocks(); ++i)
-        components[i].reinit (MPI_Comm(), 0, 0);
+        components[i].reinit (MPI_COMM_SELF, 0, 0);
 
       collect_sizes();
     }

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.