]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure that also the output of the embedded value is on the deformed grid. 6534/head
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 8 May 2018 11:01:24 +0000 (13:01 +0200)
committerMatthias Maier <tamiko@43-1.org>
Tue, 8 May 2018 12:29:07 +0000 (07:29 -0500)
examples/step-60/step-60.cc

index 3f03315b38cf375db13fd6df0d1af51c19a8d6c0..d9cbdf5727a415cf1e4672cc8642e569f2f83d3d 100644 (file)
@@ -966,7 +966,9 @@ namespace Step60
                                                ComponentMask(), ComponentMask(),
                                                *embedded_mapping);
 
-      VectorTools::interpolate(*embedded_dh, embedded_value_function, embedded_value);
+      VectorTools::interpolate(*embedded_mapping,
+                               *embedded_dh, embedded_value_function,
+                               embedded_value);
     }
   }
 

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.