]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Small modifications of FEEvaluation documentation 12631/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 7 Aug 2021 18:40:52 +0000 (20:40 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 7 Aug 2021 18:40:52 +0000 (20:40 +0200)
include/deal.II/matrix_free/fe_evaluation.h

index 6ef074383c6912270756b014a503a6f334040cb0..f80ad46e33b633914f85f0387db150e0429117a4 100644 (file)
@@ -2025,10 +2025,10 @@ protected:
  *     phi.reinit(cell_index);
  *     for (unsigned int q=0; q<phi.n_q_points; ++q)
  *       {
- *         Point<dim,VectorizedArray<double> > p_vect =
+ *         const Point<dim,VectorizedArray<double> > p_vect =
  *           phi.quadrature_point(q);
  *         // Need to evaluate function for each component in VectorizedArray
- *         VectorizedArray<double> f_value;
+ *         VectorizedArray<double> f_value = 0.0;
  *         for (unsigned int v=0; v<VectorizedArray<double>::size(); ++v)
  *           {
  *             Point<dim> p;

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.