]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor edits.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 11 Feb 2011 04:04:23 +0000 (04:04 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 11 Feb 2011 04:04:23 +0000 (04:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@23331 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_generator.cc

index 7cacf890ad6505b2095b9021a3e5beb09a4dffb7..b41268bdf04f724d725964d1c3c1c0f995ae3ec3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -2229,9 +2229,11 @@ GridGenerator::half_hyper_ball (Triangulation<3>& tria,
 // Implementation for 3D only
 template<>
 void
-GridGenerator::colorize_hyper_shell (
-  Triangulation<3>& tria,
-  const Point<3>&, const double, const double)
+GridGenerator::
+colorize_hyper_shell (Triangulation<3>& tria,
+                     const Point<3>&,
+                     const double,
+                     const double)
 {
                                   // Inspite of receiving geometrical
                                   // data, we do this only based on
@@ -2261,12 +2263,13 @@ GridGenerator::colorize_hyper_shell (
 
 
 template <>
-void GridGenerator::hyper_shell (Triangulation<3>& tria,
-                                const Point<3>& p,
-                                const double inner_radius,
-                                const double outer_radius,
-                                const unsigned int n,
-                                const bool colorize)
+void
+GridGenerator::hyper_shell (Triangulation<3>& tria,
+                           const Point<3>& p,
+                           const double inner_radius,
+                           const double outer_radius,
+                           const unsigned int n,
+                           const bool colorize)
 {
   Assert ((inner_radius > 0) && (inner_radius < outer_radius),
          ExcInvalidRadii ());
@@ -2346,7 +2349,7 @@ void GridGenerator::hyper_shell (Triangulation<3>& tria,
     }
   else
     {
-      Assert(false, ExcIndexRange(n, 1, 7));
+      Assert(false, ExcIndexRange(n, 1, 12));
     }
 
   tria.create_triangulation (vertices, cells,

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.