]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Uhh..
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 1 May 2003 21:45:46 +0000 (21:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 1 May 2003 21:45:46 +0000 (21:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@7537 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/geometry_info.h

index efec19a07c6608393cc672b799fd302c30b13c99..98074da54250ebc579da68587b9e891ca2008cb2 100644 (file)
@@ -1109,7 +1109,7 @@ GeometryInfo<1>::cell_to_child_coordinates (const Point<1>    &p,
                                            const unsigned int child_index)
 {
   Assert (child_index < GeometryInfo<dim>::children_per_cell,
-         ExcIndexRange (child_index, GeometryInfo<dim>::children_per_cell));
+         ExcIndexRange (child_index, 0, GeometryInfo<dim>::children_per_cell));
   const double x = p[0]*2 - (child_index == 1 ? 1. : 0.);
   return Point<dim>(x);
 }
@@ -1122,7 +1122,7 @@ GeometryInfo<2>::cell_to_child_coordinates (const Point<2>    &p,
                                            const unsigned int child_index)
 {
   Assert (child_index < GeometryInfo<dim>::children_per_cell,
-         ExcIndexRange (child_index, GeometryInfo<dim>::children_per_cell));
+         ExcIndexRange (child_index, 0, GeometryInfo<dim>::children_per_cell));
 
   const double x = p[0]*2 - ((child_index == 1) || (child_index == 2) ? 1. : 0.);
   const double y = p[1]*2 - ((child_index == 2) || (child_index == 3) ? 1. : 0.);
@@ -1138,7 +1138,7 @@ GeometryInfo<3>::cell_to_child_coordinates (const Point<3>    &p,
                                            const unsigned int child_index)
 {
   Assert (child_index < GeometryInfo<dim>::children_per_cell,
-         ExcIndexRange (child_index, GeometryInfo<dim>::children_per_cell));
+         ExcIndexRange (child_index, 0, GeometryInfo<dim>::children_per_cell));
 
   const double x = p[0]*2 - ((child_index == 1) || (child_index == 2) ||
                             (child_index == 5) || (child_index == 6)    ? 1. : 0.);

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.