From: Wolfgang Bangerth Date: Wed, 8 Jan 2020 03:10:39 +0000 (-0700) Subject: Simplify the instantiations of DoFTools::count_dofs_per_component(). X-Git-Tag: v9.2.0-rc1~719^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=366e04e720be1012bf7a853dee5e485b79b9cbec;p=dealii.git Simplify the instantiations of DoFTools::count_dofs_per_component(). --- diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index 19db8f6970..d3f3578cae 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -46,6 +46,8 @@ for (DoFHandler : DOFHANDLER_TEMPLATES; #endif } + + for (deal_II_dimension : DIMENSIONS) { template std::vector DoFTools::make_vertex_patches( @@ -394,36 +396,7 @@ for (deal_II_dimension : DIMENSIONS) #endif - - template void DoFTools::count_dofs_per_component< - DoFHandler>(const DoFHandler &, - std::vector &, - const bool, - const std::vector &); - - template void - DoFTools::count_dofs_per_component>( - const hp::DoFHandler &, - std::vector &, - const bool, - const std::vector &); - - #if deal_II_dimension < 3 - template void DoFTools::count_dofs_per_component< - DoFHandler>( - const DoFHandler &, - std::vector &, - const bool, - const std::vector &); - - template void DoFTools::count_dofs_per_component< - hp::DoFHandler>( - const hp::DoFHandler &, - std::vector &, - const bool, - const std::vector &); - template void DoFTools::extract_level_dofs< DoFHandler>( const unsigned int level, @@ -435,18 +408,6 @@ for (deal_II_dimension : DIMENSIONS) #if deal_II_dimension == 3 - template void DoFTools::count_dofs_per_component>( - const DoFHandler<1, 3> &, - std::vector &, - const bool, - const std::vector &); - - template void DoFTools::count_dofs_per_component>( - const hp::DoFHandler<1, 3> &, - std::vector &, - const bool, - const std::vector &); - template void DoFTools::extract_level_dofs>( const unsigned int level, const DoFHandler<1, 3> &, @@ -720,7 +681,21 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const hp::DoFHandler &, const BlockMask &); + template void + count_dofs_per_component< + DoFHandler>( + const DoFHandler &, + std::vector &, + const bool, + const std::vector &); + template void + count_dofs_per_component< + hp::DoFHandler>( + const hp::DoFHandler &, + std::vector &, + const bool, + const std::vector &); template void make_cell_patches(