]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Fix a small bug in VectorTools::interpolate_to_different_mesh
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Feb 2012 12:12:27 +0000 (12:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Feb 2012 12:12:27 +0000 (12:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@25114 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/numerics/vectors.templates.h

index 8cdbfbfb92b01897d1dd036180b436ce7c9f3b00..8cb8243a066362d93002113f21b3c32fad81773c 100644 (file)
@@ -514,7 +514,7 @@ namespace VectorTools
              cell2->get_fe().get_name(),
              ExcMessage ("Source and destination cells need to use the same finite element"));
 
-      cache.reinit(dof1.get_fe().dofs_per_cell);
+      cache.reinit(cell1->get_fe().dofs_per_cell);
 
                                      // Get and set the corresponding
                                      // dof_values by interpolation.

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.