const bool only_once = false,
std::vector<unsigned int> target_component = std::vector<unsigned int>());
+ /**
+ * @deprecated Wrapper for the
+ * other function with same name,
+ * introduced for compatibility.
+ */
+ template <int dim>
+ static void count_dofs_per_component (
+ const MGDoFHandler<dim> &mg_dof,
+ std::vector<std::vector<unsigned int> > &result,
+ std::vector<unsigned int> target_component);
+
/**
* Ajust vectors on all levels to
+template <int dim>
+void
+MGTools::count_dofs_per_component (
+ const MGDoFHandler<dim> &dof_handler,
+ std::vector<std::vector<unsigned int> > &result,
+ std::vector<unsigned int> target_component)
+{
+ count_dofs_per_component(dof_handler, result, false, target_component);
+}
+
+
+
template<int dim, typename number>
void
MGTools::reinit_vector (const MGDoFHandler<dim> &mg_dof,
std::vector<std::vector<unsigned int> >&,
bool,
std::vector<unsigned int>);
+template void MGTools::count_dofs_per_component<deal_II_dimension> (
+ const MGDoFHandler<deal_II_dimension>&,
+ std::vector<std::vector<unsigned int> >&,
+ std::vector<unsigned int>);