]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2013 16:29:08 +0000 (16:29 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2013 16:29:08 +0000 (16:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@28473 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/ghost_03.cc

index e02a92e97917944b744e17e4a08296981747eb73..a46c5d08a6c174e1976b70b5047d8183fdc2cf74 100644 (file)
@@ -12,7 +12,7 @@
 //---------------------------------------------------------------------------
 
 
-// Test that ghosted vectors are read-only (not working right now)
+// Test that ghosted vectors are read-only
 
 #include "../tests.h"
 #include <deal.II/lac/petsc_parallel_vector.h>
@@ -50,6 +50,9 @@ void test ()
   vb*=2.0;
   v=vb;
 
+  Assert(!vb.has_ghost_elements(), ExcInternalError());
+  Assert(v.has_ghost_elements(), ExcInternalError());
+  
   deal_II_exceptions::disable_abort_on_exception();
   try 
     {

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.