From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Fri, 2 Jan 2015 19:15:32 +0000 (-0600)
Subject: Remove deprecated variant of DoFTools::count_dofs_per_component.
X-Git-Tag: v8.3.0-rc1~566^2~6
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040a9fc77c153c6ef6d0578fc03d3234a11118d5;p=dealii.git

Remove deprecated variant of DoFTools::count_dofs_per_component.
---

diff --git a/doc/news/changes.h b/doc/news/changes.h
index bdf06b10f0..930bb82e47 100644
--- a/doc/news/changes.h
+++ b/doc/news/changes.h
@@ -41,7 +41,9 @@ inconvenience this causes.
   <li> Removed: This release removes a number of functions that have long
   been deprecated and that were previously already marked as
   deprecated (i.e., they would have yielded warnings by the compiler whenever
-  you tried to use them). Specifically, these are:
+  you tried to use them). In almost all cases, there is a function with same
+  name but different argument list that should be used instead.
+  Specifically, the removed functions are:
   - TimeDependent::end_sweep (with an argument).
   - PointValueHistory::mark_locations.
   - The DataPostprocessor::compute_derived_quantities_scalar and
@@ -70,6 +72,7 @@ inconvenience this causes.
     these two concepts (since we switched from the FunctionParser
     library to the muparser library after the deal.II 8.1 release).
   - DoFRenumbering::downstream_dg.
+  - DoFTools::count_dofs_per_component.
 </ol>
 
   <li> Removed: The config.h file no longer exports HAVE_* definitions.
diff --git a/include/deal.II/dofs/dof_tools.h b/include/deal.II/dofs/dof_tools.h
index 0d7f8ff567..47419c1ab7 100644
--- a/include/deal.II/dofs/dof_tools.h
+++ b/include/deal.II/dofs/dof_tools.h
@@ -1834,18 +1834,6 @@ namespace DoFTools
                         const std::vector<unsigned int>  &target_block
                         = std::vector<unsigned int>());
 
-  /**
-   * @deprecated See the previous function with the same name for a
-   * description. This function exists for compatibility with older versions
-   * only.
-   */
-  template <int dim, int spacedim>
-  void
-  count_dofs_per_component (const DoFHandler<dim,spacedim>     &dof_handler,
-                            std::vector<types::global_dof_index> &dofs_per_component,
-                            std::vector<unsigned int>  target_component) DEAL_II_DEPRECATED;
-
-
   /**
    * For each active cell of a DoFHandler or hp::DoFHandler, extract the
    * active finite element index and fill the vector given as second argument.
diff --git a/source/dofs/dof_tools.cc b/source/dofs/dof_tools.cc
index ab8e057794..1a6e7c6582 100644
--- a/source/dofs/dof_tools.cc
+++ b/source/dofs/dof_tools.cc
@@ -1541,18 +1541,6 @@ namespace DoFTools
 
 
 
-  template <int dim, int spacedim>
-  void
-  count_dofs_per_component (const DoFHandler<dim,spacedim> &dof_handler,
-                            std::vector<types::global_dof_index>      &dofs_per_component,
-                            std::vector<unsigned int>       target_component)
-  {
-    count_dofs_per_component (dof_handler, dofs_per_component,
-                              false, target_component);
-  }
-
-
-
   template <class DH>
   void
   map_dof_to_boundary_indices (const DH                  &dof_handler,
diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in
index 4ea011b39a..e7a596b26d 100644
--- a/source/dofs/dof_tools.inst.in
+++ b/source/dofs/dof_tools.inst.in
@@ -581,12 +581,6 @@ DoFTools::count_dofs_per_block<MGDoFHandler<deal_II_dimension> > (
   std::vector<types::global_dof_index>&,
   const std::vector<unsigned int> &);
 
-template
-void
-DoFTools::count_dofs_per_component<deal_II_dimension> (
-  const DoFHandler<deal_II_dimension>&,
-  std::vector<types::global_dof_index>&, std::vector<unsigned int>);
-
 template
 void
 DoFTools::map_dof_to_boundary_indices<DoFHandler<deal_II_dimension> >