From: wolf Date: Thu, 1 May 2003 21:45:46 +0000 (+0000) Subject: Uhh.. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab4c3972e3ae090d675ef6128193690eaf2f8c6;p=dealii-svn.git Uhh.. git-svn-id: https://svn.dealii.org/trunk@7537 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/geometry_info.h b/deal.II/deal.II/include/grid/geometry_info.h index efec19a07c..98074da542 100644 --- a/deal.II/deal.II/include/grid/geometry_info.h +++ b/deal.II/deal.II/include/grid/geometry_info.h @@ -1109,7 +1109,7 @@ GeometryInfo<1>::cell_to_child_coordinates (const Point<1> &p, const unsigned int child_index) { Assert (child_index < GeometryInfo::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::children_per_cell)); const double x = p[0]*2 - (child_index == 1 ? 1. : 0.); return Point(x); } @@ -1122,7 +1122,7 @@ GeometryInfo<2>::cell_to_child_coordinates (const Point<2> &p, const unsigned int child_index) { Assert (child_index < GeometryInfo::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::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::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::children_per_cell)); const double x = p[0]*2 - ((child_index == 1) || (child_index == 2) || (child_index == 5) || (child_index == 6) ? 1. : 0.);