]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make things useful in 2d as well.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 Dec 2009 13:49:39 +0000 (13:49 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 Dec 2009 13:49:39 +0000 (13:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@20255 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-22/doc/results.dox

index 3162dda646bfabc95b1e6e3b11cfbd536c07fc90..5efaadbaacf1e658cb70bb9ca726d408482326e6 100644 (file)
@@ -779,7 +779,8 @@ $[-2,2]\times[-2,2]\times[-1,0]$
 @code
     std::vector<unsigned int> subdivisions (dim, 1);
     subdivisions[0] = 4;
-    subdivisions[1] = 4;
+    if (dim>2)
+      subdivisions[1] = 4;
 
     const Point<dim> bottom_left = (dim == 2 ?
                                     Point<dim>(-2,-1) :

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.