]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Comment correction in step-77 12811/head
authorFabian Castelli <fabian.castelli@kit.edu>
Tue, 12 Oct 2021 07:56:38 +0000 (09:56 +0200)
committerFabian Castelli <fabian.castelli@kit.edu>
Tue, 12 Oct 2021 07:56:38 +0000 (09:56 +0200)
examples/step-77/step-77.cc

index fb88badff696d86956b1cae562ec83e0a8efeca3..3f8a5bc3797129a7cbf9a9c65b25ff5fa19ef89b 100644 (file)
@@ -364,10 +364,11 @@ namespace Step77
                                     evaluation_point_gradients[q]);
 
             for (unsigned int i = 0; i < dofs_per_cell; ++i)
-              cell_residual(i) = (fe_values.shape_grad(i, q) // \nabla \phi_i
-                                  * coeff                    // * a_n
-                                  * evaluation_point_gradients[q] // * u_n
-                                  * fe_values.JxW(q));            // * dx
+              cell_residual(i) =
+                (fe_values.shape_grad(i, q)      // \nabla \phi_i
+                 * coeff                         // * a_n
+                 * evaluation_point_gradients[q] // * \nabla u_n
+                 * fe_values.JxW(q));            // * dx
           }
 
         cell->get_dof_indices(local_dof_indices);

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.