]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated variant of DoFTools::count_dofs_per_component.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 2 Jan 2015 19:15:32 +0000 (13:15 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 4 Jan 2015 21:13:48 +0000 (15:13 -0600)
doc/news/changes.h
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools.cc
source/dofs/dof_tools.inst.in

index bdf06b10f0a8bdde850c4bc3f6d1428fcaa14457..930bb82e47a7bf48bd0e7a6f549f124d6eeda2fd 100644 (file)
@@ -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.
index 0d7f8ff56788d594609e702c2ca89b2b4f72ff9b..47419c1ab77b8a6264f2e9f52f8cd453e1167032 100644 (file)
@@ -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.
index ab8e0577945786a35d61359113721ec328bab690..1a6e7c6582975681c391dd83702edd1f779848b0 100644 (file)
@@ -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,
index 4ea011b39a765e84b92482d4c384563ed9a5efae..e7a596b26d328665e02f81a2e80424292027bf4f 100644 (file)
@@ -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> >

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.