From 1204f15e9f408841ee72c69c6f8290021f53fce0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 11 Feb 2011 04:04:23 +0000 Subject: [PATCH] Minor edits. git-svn-id: https://svn.dealii.org/trunk@23331 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/grid_generator.cc | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/deal.II/source/grid/grid_generator.cc b/deal.II/source/grid/grid_generator.cc index 7cacf890ad..b41268bdf0 100644 --- a/deal.II/source/grid/grid_generator.cc +++ b/deal.II/source/grid/grid_generator.cc @@ -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, -- 2.39.5