]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test. 207/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Oct 2014 18:51:58 +0000 (13:51 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Oct 2014 18:51:58 +0000 (13:51 -0500)
We have recently allowed that one can set a vector to zero, even if it has
ghost elements. But this test verified that we throw an exception in this
case. Remove this one test.

tests/mpi/ghost_03.cc
tests/mpi/ghost_03.with_petsc=true.mpirun=10.debug.output
tests/mpi/ghost_03.with_petsc=true.mpirun=4.debug.output

index b115043eadb39eefd0c54461badfb3c7c03df1cd..3bd8d5942a93165d9511f0eeb06d5ac8c97b4966 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2004 - 2013 by the deal.II authors
+// Copyright (C) 2004 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -72,14 +72,6 @@ void test ()
     {
       deallog << e.get_exc_name() << std::endl;
     }
-  try
-    {
-      v=0.0;
-    }
-  catch (ExceptionBase &e)
-    {
-      deallog << e.get_exc_name() << std::endl;
-    }
   try
     {
       v+=v;
index 034d213f855158861323f2728f375e9d4f3e4365..6fb864016a584e6aa6a88535314cda374ebc8c04 100644 (file)
@@ -3,5 +3,4 @@ DEAL:0::numproc=10
 DEAL:0::ExcGhostsPresent()
 DEAL:0::ExcGhostsPresent()
 DEAL:0::ExcGhostsPresent()
-DEAL:0::ExcGhostsPresent()
 DEAL:0::OK
index addea019e1f1ef0746be29a96b1621c9767ba370..d88d1374120987d512e1088b11593bbc5aadb8ec 100644 (file)
@@ -3,5 +3,4 @@ DEAL:0::numproc=4
 DEAL:0::ExcGhostsPresent()
 DEAL:0::ExcGhostsPresent()
 DEAL:0::ExcGhostsPresent()
-DEAL:0::ExcGhostsPresent()
 DEAL:0::OK

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.