void get_dof_indices (std::vector<types::global_dof_index> &dof_indices,
const unsigned int fe_index = AccessorData::default_fe_index) const;
+
+ /**
+ * Return the global multilevel indices of the degrees of freedom that live
+ * on the current object with respect to the given level within the
+ * multigrid hierarchy. The indices refer to the local numbering for the
+ * level this line lives on.
+ */
+ void get_mg_dof_indices (const int level,
+ std::vector<types::global_dof_index> &dof_indices,
+ const unsigned int fe_index = AccessorData::default_fe_index) const;
+
/**
* Global DoF index of the <i>i</i> degree associated with the @p vertexth
* vertex of the present cell.
+template <template <int, int> class DoFHandlerType, int spacedim, bool level_dof_access>
+inline
+void
+DoFAccessor<0,DoFHandlerType<1,spacedim>, level_dof_access>::
+get_mg_dof_indices (const int,
+ std::vector<types::global_dof_index> &dof_indices,
+ const unsigned int fe_index) const
+{
+ Assert (this->dof_handler != 0, ExcInvalidObject ());
+ Assert (dof_indices.size () ==
+ this->dof_handler->get_fe ()[fe_index].dofs_per_vertex,
+ ExcVectorDoesNotMatch ());
+
+ Assert (false, ExcNotImplemented());
+}
+
+
+
template <template <int, int> class DoFHandlerType, int spacedim, bool level_dof_access>
inline
types::global_dof_index