]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add exception output.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Dec 1999 15:58:11 +0000 (15:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Dec 1999 15:58:11 +0000 (15:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@2130 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/step-5.results

index fe4b2571887b5e565ac432030de2aa595b71349e..4df7e28e3ce420aa338446e45e1131f86ab2ba5c 100644 (file)
@@ -35,11 +35,22 @@ Cycle 5:
    Total number of cells: 27300
    Number of degrees of freedom: 20609
    200 CG iterations needed to obtain convergence.
+--------------------------------------------------------
+An error occurred in line <206> of file <step-5.cc> in function
+    void Coefficient<2>::value_list<2>(const class vector<Point<2>,__default_alloc_template<false,0> > &, class vector<double,__default_alloc_template<false,0> > &, unsigned int = 0) const
+The violated condition was: 
+    values.size() == n_points
+The name and call sequence of the exception was:
+    ExcVectorHasWrongSize (values.size(), n_points)
+Additional Information: 
+The vector has size 1 but should have 2 elements.
+--------------------------------------------------------
 </code>
 </pre>
 
 In each cycle, the number of cells quadruples and the number of CG
-iterations roughly doubles.
+iterations roughly doubles. The exception is only raised if the
+respective lines at the end of the programs are un-commented.
 
 <p>
 

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.