]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Be explicit regarding mapping in step-12 10670/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 7 Jul 2020 21:14:52 +0000 (23:14 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 7 Jul 2020 21:14:52 +0000 (23:14 +0200)
examples/step-12/step-12.cc

index 9480db17f457244439e15bce7268f27a31b03407..fcec1e2c1f998d2ffaba5d6cc9ba6f24502d0dd2 100644 (file)
@@ -555,7 +555,8 @@ namespace Step12
 
     {
       Vector<float> values(triangulation.n_active_cells());
-      VectorTools::integrate_difference(dof_handler,
+      VectorTools::integrate_difference(mapping,
+                                        dof_handler,
                                         solution,
                                         Functions::ZeroFunction<dim>(),
                                         values,

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.