]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cast the DoFHandler object to the type the called function wants to see. On the main...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Dec 2003 11:33:24 +0000 (11:33 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Dec 2003 11:33:24 +0000 (11:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@8274 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_transfer_block.cc

index 51e3a2bf7bbb45cea69fe96a8a8dee7740d73f38..73e6fe919b6b71cc13586ff1062e97f3a2826e33 100644 (file)
@@ -113,7 +113,9 @@ void MGTransferBlockBase::build_matrices (
     }
 
   component_start.resize(target_component.size());
-  DoFTools::count_dofs_per_component(mg_dof, component_start, target_component);
+  DoFTools::
+    count_dofs_per_component (static_cast<const DoFHandler<dim>&>(mg_dof),
+                              component_start, target_component);
 
   unsigned int k=0;
   for (unsigned int i=0;i<component_start.size();++i)

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.