]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix test output
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Nov 2013 21:10:16 +0000 (21:10 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Nov 2013 21:10:16 +0000 (21:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@31676 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/no_flux_13.cc
tests/deal.II/no_flux_13.debug.output

index c87f079be0c561311e41a2196ebe6a78192d0f22..9cfaa11e4b9ea43f0cf7d6d9f2e12cd4b9838471 100644 (file)
@@ -56,10 +56,19 @@ void test()
   ConstraintMatrix constraints;\r
   std::set<types::boundary_id> no_normal_flux_boundaries;\r
   no_normal_flux_boundaries.insert (1);\r
+  deal_II_exceptions::disable_abort_on_exception();\r
+  try\r
+    {\r
+      \r
   VectorTools::compute_no_normal_flux_constraints (dof_handler,\r
                                                   0,\r
                                                   no_normal_flux_boundaries,\r
                                                   constraints);\r
+    }\r
+  catch (ExceptionBase &e)\r
+    {\r
+      deallog << e.get_exc_name() << std::endl;\r
+    }\r
 \r
   constraints.close();\r
   constraints.print(deallog.get_file_stream ());\r
index 543e413fad94ebb05ad5b26901e242173db9850d..a3ea07298493e8a928eb3a01e416e86765afe1ad 100644 (file)
@@ -1,31 +1,2 @@
 
-    202 = 0
-    566 = 0
-    570 = 0
-    576 = 0
-    1098 = 0
-    1100 = 0
-    1104 = 0
-    1616 = 0
-    1620 = 0
-    1708 = 0
-    1918 = 0
-    1920 = 0
-    1922 = 0
-    1930 = 0
-    1962 = 0
-    2138 = 0
-    2140 = 0
-    2156 = 0
-    2160 = 0
-    2196 = 0
-    2198 = 0
-    2246 = 0
-    2416 = 0
-    2892 = 0
-    2894 = 0
-    2902 = 0
-    2906 = 0
-    2912 = 0
-    2918 = 0
-DEAL::OK
+DEAL::ExcMessage("Error: the finite element has not enough components " "to define a normal direction.")

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.