]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Documentation fixes.
authorLuca Heltai <luca.heltai@sissa.it>
Fri, 10 May 2019 08:56:19 +0000 (10:56 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Fri, 10 May 2019 16:11:10 +0000 (18:11 +0200)
include/deal.II/fe/mapping.h
include/deal.II/grid/tria_accessor.h

index fb323e941f58fc3b2d63e85f1c8de9a639e5e729..acf799a63f1d8f85ddb8d89c6a84cb214ded965b 100644 (file)
@@ -375,7 +375,10 @@ public:
    * MappingQEulerian, MappingQ1Eulerian, or MappingFEField.
    *
    * This function returns the bounding box containing all the vertices of the
-   * cell, as returned by the get_vertices() method.
+   * cell, as returned by the get_vertices() method. Beware of the fact that
+   * for higher order mappings this bounding box is only an approximation of the
+   * true bounding box, since it does not take into account curved faces, and it
+   * may be smaller than the true bounding box.
    *
    * @param[in] cell The cell for which you want to compute the center
    *
index 47bd2399170ff2f4e429b57507a70a41d8c5fa7f..b74b059dc0a8965a16529b6b9e7e6f3c4a8b7007 100644 (file)
@@ -1430,6 +1430,11 @@ public:
 
   /**
    * Return the smallest bounding box that encloses the object.
+   *
+   * Notice that this method is not aware of any mapping you may be using to
+   * do your computations. If you are using a mapping object that modifies the
+   * position of the vertices, like MappingQEulerian, or MappingFEField, then
+   * you should call the function Mapping::get_bounding_box() instead.
    */
   BoundingBox<spacedim>
   bounding_box() const;

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.