]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a formula in a comment in step-14. 6888/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Jul 2018 13:35:40 +0000 (07:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Jul 2018 17:22:35 +0000 (11:22 -0600)
examples/step-14/step-14.cc

index 6940ac2e357191b63395d996cbcba182edf0ac3b..47b659db5071b8ef69bcdb2571259ec517653fcc 100644 (file)
@@ -1565,8 +1565,8 @@ namespace Step14
               {
                 for (unsigned int i = 0; i < dofs_per_cell; ++i)
                   cell_rhs(i) +=
-                    fe_values.shape_grad(i, q)[0] * // grad phi_i(x_q)
-                    fe_values.JxW(q);               // dx
+                    fe_values.shape_grad(i, q)[0] // (d/dx phi_i(x_q))
+                    * fe_values.JxW(q);           // * dx
                 total_volume += fe_values.JxW(q);
               }
 

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.