]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Expand on the explanation of update_quadrature_points. 5863/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 4 Feb 2018 22:03:36 +0000 (15:03 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 4 Feb 2018 22:03:36 +0000 (15:03 -0700)
include/deal.II/fe/fe_update_flags.h

index c16d468a17a5a1ad430729d4d77b474098075ba2..1e8d77f7705c54f1b2ac1d3ad892c355757bac9f 100644 (file)
@@ -99,7 +99,18 @@ enum UpdateFlags
   update_boundary_forms = 0x0010,
   //! Transformed quadrature points
   /**
-   * Compute the quadrature points transformed into real cell coordinates.
+   * Compute the quadrature points location in real cell coordinates.
+   *
+   * FEValues objects take the quadrature point locations on the
+   * reference cell as an argument of the constructor (via the
+   * Quadrature object). For most finite elements, knowing the
+   * location of quadrature points on the reference cell is all that
+   * is necessary to evaluate shape functions, evaluate the mapping,
+   * and other things. On the other hand, if you want to evaluate a
+   * right hand side function $f(\mathbf x_q)$ at quadrature point
+   * locations $\mathbf x_q$ on the real cell, you need to pass this
+   * flag to the FEValues constructor to make sure you can later
+   * access them.
    */
   update_quadrature_points = 0x0020,
   //! Transformed quadrature weights

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.