]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
simplify test (do not need update_ghost_values() anymore)
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 4 Sep 2013 22:12:52 +0000 (22:12 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 4 Sep 2013 22:12:52 +0000 (22:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@30604 0785d39b-7218-0410-832d-ea1e28bc413d

tests/gla/extract_subvector_to_parallel.cc

index 2ee0ce54d895121bc71720884e35ecf21b3d8eb5..80b55693630dd5ae1a063c640c0d6fa8a2bc248a 100644 (file)
@@ -92,7 +92,6 @@ int main (int argc, char **argv)
       set (w);
       parallel::distributed::Vector<double> v(local, dense_local, MPI_COMM_WORLD);
       v = w; // get copy of vector including ghost elements
-      v.update_ghost_values(); // this is necessary for this kind of vector
       test (v);
       deallog.pop();
     }
@@ -155,7 +154,6 @@ int main (int argc, char **argv)
       set (w);
       parallel::distributed::BlockVector<double> v(partitioning, dense_partitioning, MPI_COMM_WORLD);
       v = w; // get copy of vector including ghost elements
-      v.update_ghost_values(); // this is necessary for this kind of vector
       test (v);
       deallog.pop();
     }

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.