]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Small doc updates.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 May 2006 23:07:39 +0000 (23:07 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 May 2006 23:07:39 +0000 (23:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@13092 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/geometry_info.h

index aef09b7d0665b4d7665781bb8cc18f20013d34eb..21b39e82d74de911c0a059a38d04e953821a02a5 100644 (file)
@@ -871,11 +871,23 @@ struct GeometryInfo
                                      * Return true if the given point
                                      * is inside the unit cell of the
                                      * present space dimension. This
-                                      * function accepts an additional
-                                      * parameter which specifies how
-                                      * much the point position may
-                                      * actually deviate from a true
-                                      * unit cell (may be less than zero)
+                                     * * function accepts an
+                                     * additional * parameter which
+                                     * specifies how * much the point
+                                     * position may * actually be
+                                     * outside the true * unit
+                                     * cell. This is useful because
+                                     * in practice we may often not
+                                     * be able to compute the
+                                     * coordinates of a point in
+                                     * reference coordinates exactly,
+                                     * but only up to numerical
+                                     * roundoff.
+                                     *
+                                     * The tolerance parameter may be
+                                     * less than zero, indicating
+                                     * that the point should be
+                                     * safely inside the cell.
                                      */
     static bool is_inside_unit_cell (const Point<dim> &p,
                                      const double eps);
@@ -1178,7 +1190,8 @@ GeometryInfo<3>::is_inside_unit_cell (const Point<3> &p)
 template <>
 inline
 bool
-GeometryInfo<1>::is_inside_unit_cell (const Point<1> &p, const double eps)
+GeometryInfo<1>::is_inside_unit_cell (const Point<1> &p,
+                                     const double eps)
 {
   return (p[0] >= -eps) && (p[0] <= 1.+eps);
 }
@@ -1188,7 +1201,8 @@ GeometryInfo<1>::is_inside_unit_cell (const Point<1> &p, const double eps)
 template <>
 inline
 bool
-GeometryInfo<2>::is_inside_unit_cell (const Point<2> &p, const double eps)
+GeometryInfo<2>::is_inside_unit_cell (const Point<2> &p,
+                                     const double eps)
 {
   const double l = -eps, u = 1+eps;
   return (p[0] >= l) && (p[0] <= u) &&
@@ -1200,7 +1214,8 @@ GeometryInfo<2>::is_inside_unit_cell (const Point<2> &p, const double eps)
 template <>
 inline
 bool
-GeometryInfo<3>::is_inside_unit_cell (const Point<3> &p, const double eps)
+GeometryInfo<3>::is_inside_unit_cell (const Point<3> &p,
+                                     const double eps)
 {
   const double l = -eps, u = 1.0+eps;
   return (p[0] >= l) && (p[0] <= u) &&

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.