From: Wolfgang Bangerth Date: Wed, 8 Jan 2020 03:24:06 +0000 (-0700) Subject: Simplify the instantiations of DoFTools::extract_level_dofs(). X-Git-Tag: v9.2.0-rc1~719^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121264f82534ed1024fc6380bfb63a94daedd287;p=dealii.git Simplify the instantiations of DoFTools::extract_level_dofs(). --- diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index d3f3578cae..73b0d4429e 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -112,37 +112,6 @@ for (deal_II_dimension : DIMENSIONS) const unsigned int component); - - template void DoFTools::extract_level_dofs>( - const unsigned int level, - const DoFHandler &, - const ComponentMask &, - std::vector &); - - template void DoFTools::extract_level_dofs>( - const unsigned int level, - const DoFHandler &, - const BlockMask &, - std::vector &); - -#if deal_II_dimension > 1 - template void - DoFTools::extract_level_dofs>( - const unsigned int level, - const DoFHandler<1, deal_II_dimension> &, - const BlockMask &, - std::vector &); -#endif - -#if deal_II_dimension > 2 - template void - DoFTools::extract_level_dofs>( - const unsigned int level, - const DoFHandler<2, deal_II_dimension> &, - const BlockMask &, - std::vector &); -#endif - template void DoFTools::extract_boundary_dofs< DoFHandler>(const DoFHandler &, const ComponentMask &, @@ -396,27 +365,6 @@ for (deal_II_dimension : DIMENSIONS) #endif -#if deal_II_dimension < 3 - template void DoFTools::extract_level_dofs< - DoFHandler>( - const unsigned int level, - const DoFHandler &, - const ComponentMask &, - std::vector &); - -#endif - - -#if deal_II_dimension == 3 - template void DoFTools::extract_level_dofs>( - const unsigned int level, - const DoFHandler<1, 3> &, - const ComponentMask &, - std::vector &); - -#endif - - template void DoFTools::count_dofs_per_block>( const DoFHandler &, std::vector &, @@ -681,6 +629,24 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const hp::DoFHandler &, const BlockMask &); + // extract_level_dofs() for ComponentMask and BlockMask + template void + extract_level_dofs< + DoFHandler>( + const unsigned int level, + const DoFHandler &, + const ComponentMask &, + std::vector &); + + template void + extract_level_dofs< + DoFHandler>( + const unsigned int level, + const DoFHandler &, + const BlockMask &, + std::vector &); + + template void count_dofs_per_component< DoFHandler>(