From: guido Date: Fri, 17 Jun 2005 14:45:14 +0000 (+0000) Subject: compatibility wrapper for count_dofs_per_component X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=854bb7d8c833c04154cda28026db1cb972b44f02;p=dealii-svn.git compatibility wrapper for count_dofs_per_component git-svn-id: https://svn.dealii.org/trunk@10882 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index 1d678a2849..0145f36989 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -948,6 +948,20 @@ class DoFTools const bool vector_valued_once = false, std::vector target_component =std::vector()); + + /** + * @deprecated See the previous + * function with the same name + * for a description. This + * function exists for + * compatibility with older + * versions only. + */ + template + static void + count_dofs_per_component (const DoFHandler& dof_handler, + std::vector& dofs_per_component, + std::vector target_component); /** * This function can be used when diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 0ecf810e94..085031b092 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -1814,6 +1814,17 @@ DoFTools::count_dofs_per_component ( +template +void +DoFTools::count_dofs_per_component ( + const DoFHandler& dof_handler, + std::vector& dofs_per_component, + std::vector target_component) +{ + count_dofs_per_component (dof_handler, dofs_per_component, false, target_component); +} + + template void DoFTools::compute_intergrid_constraints ( @@ -3138,6 +3149,12 @@ DoFTools::count_dofs_per_component ( const DoFHandler&, std::vector&, bool, std::vector); +template +void +DoFTools::count_dofs_per_component ( + const DoFHandler&, + std::vector&, std::vector); + template void DoFTools::compute_intergrid_constraints (