]> https://gitweb.dealii.org/ - dealii.git/commitdiff
also fix test
authorTimo Heister <timo.heister@gmail.com>
Sat, 3 Dec 2022 14:07:52 +0000 (09:07 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 3 Dec 2022 14:07:52 +0000 (09:07 -0500)
tests/sundials/step-77.cc

index 32444acc3d69362281074c13e4de46edcac8b484..7585e58fb0d153821ce622759c47f1580a3ad688 100644 (file)
@@ -273,7 +273,7 @@ namespace Step77
                                     evaluation_point_gradients[q]);
 
             for (unsigned int i = 0; i < dofs_per_cell; ++i)
-              cell_residual(i) =
+              cell_residual(i) +=
                 (fe_values.shape_grad(i, q)      // \nabla \phi_i
                  * coeff                         // * a_n
                  * evaluation_point_gradients[q] // * \nabla u_n

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.