* level. See the other function
* with the same name.
*/
- template <int dim>
+ template <class DH>
void
- downstream (MGDoFHandler<dim> &dof_handler,
+ downstream (DH &dof_handler,
const unsigned int level,
- const Point<dim> &direction,
+ const Point<DH::space_dimension> &direction,
const bool dof_wise_renumbering = false);
- // The following three are only temporary for compatibility reasons and will be removed in 8.0
+ /**
- * @deprecated Use downstream()
- * instead.
++ * This function does the downstream numbering for the individual
++ * levels of a multigrid hierarchy, but not for the global degrees
++ * of freedom.
++ *
++ * @deprecated Call downstream() function that takes a level
++ * argument for each of the levels of the multigrid hierarchy.
+ */
- template <int dim>
+ template <int dim, int spacedim>
void
- downstream_dg (MGDoFHandler<dim> &dof_handler,
- const unsigned int level,
- const Point<dim> &direction) DEAL_II_DEPRECATED;
+ downstream (MGDoFHandler<dim,spacedim> &dof_handler,
+ const Point<spacedim> &direction,
- const bool dof_wise_renumbering = false);
++ const bool dof_wise_renumbering = false) DEAL_II_DEPRECATED;
+
+ /**
- * @deprecated The new function
- * of this name computes the
- * renumbering and its inverse at
- * the same time. So, at least if
- * you need both, you should use
- * the other one.
- *
- * Computes the renumbering
- * vector needed by the
- * downstream_dg() function. Does
- * not perform the renumbering on
- * the DoFHandler dofs but
- * returns the renumbering
- * vector.
++ * @deprecated Use downstream() instead.
++ */
++ template <class DH>
++ void
++ downstream_dg (DH &dof,
++ const Point<DH::space_dimension> &direction) DEAL_II_DEPRECATED;
+
+ template <class DH>
+ void
+ downstream_dg (DH &dof,
+ const Point<DH::space_dimension> &direction)
+ {
+ downstream(dof, direction);
+ }
+
++
++ /**
++ * @deprecated Use downstream() instead.
+ */
- template <class DH, int dim>
+ template <class DH>
void
- compute_downstream_dg (std::vector<unsigned int> &new_dof_indices,
- const DH &dof_handler,
- const Point<dim> &direction) DEAL_II_DEPRECATED;
+ downstream_dg (DH &dof,
+ unsigned int level,
- const Point<DH::space_dimension> &direction)
++ const Point<DH::space_dimension> &direction) DEAL_II_DEPRECATED
+ {
+ downstream(dof, level, direction);
+ }
/**
* Computes the renumbering