]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adjust, not that count_dofs_per_component is available for a templated DoFHandler...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2011 14:46:31 +0000 (14:46 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2011 14:46:31 +0000 (14:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@23927 0785d39b-7218-0410-832d-ea1e28bc413d

tests/multigrid/transfer_select.cc

index eca42329b7df389c150fa2d2cd5efe03826d8c87..ad4bba7a32aa915346c879b07dd485cdb54380e0 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000 - 2007, 2009 by the deal.II authors
+//    Copyright (C) 2000 - 2007, 2009, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -59,7 +59,7 @@ void check_select(const FiniteElement<dim>& fe,
                                  target_component);
   vector<unsigned int> ndofs(*std::max_element (target_component.begin(),
                                                target_component.end()) + 1);
-  DoFTools::count_dofs_per_component(mgdof, ndofs, true, target_component);
+  DoFTools::count_dofs_per_component(dof, ndofs, true, target_component);
   
   for (unsigned int l=0;l<tr.n_levels();++l)
     DoFRenumbering::component_wise(mgdof, l, mg_target_component);

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.