]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adapt the order of factors in an integral. 11818/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 23 Feb 2021 22:40:25 +0000 (15:40 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 27 Feb 2021 19:26:48 +0000 (12:26 -0700)
examples/step-7/step-7.cc

index 91628c7b47d673f6b573ce7b82a9856491c5067e..62db0ddb52b4b35fdcb950fbd50f721455254f75 100644 (file)
@@ -660,8 +660,8 @@ namespace Step7
 
                   for (unsigned int i = 0; i < dofs_per_cell; ++i)
                     cell_rhs(i) +=
-                      (neumann_value *                          // g(x_q)
-                       fe_face_values.shape_value(i, q_point) * // phi_i(x_q)
+                      (fe_face_values.shape_value(i, q_point) * // phi_i(x_q)
+                       neumann_value *                          // g(x_q)
                        fe_face_values.JxW(q_point));            // dx
                 }
             }

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.