]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
check if ghosted vectors are really ghosted
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 16 Feb 2013 21:20:26 +0000 (21:20 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 16 Feb 2013 21:20:26 +0000 (21:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@28424 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/ghost_01.cc

index fed18c92fcaf8f7b6130976b708fa3d836555a65..d0dfa49f72fcef7159d95d7942cb91f63c13d8fd 100644 (file)
@@ -50,7 +50,9 @@ void test ()
   vb*=2.0;
   v=vb;
                                   //v.update_ghost_values();
-  
+
+  Assert(!vb.has_ghost_elements(), ExcInternalError());
+  Assert(v.has_ghost_elements(), ExcInternalError());
   
                                   // check local values
   if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)

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.