From 97c36fe89984027ef22b5ae7d1a62e79591fa146 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 7 Jan 2020 20:28:52 -0700 Subject: [PATCH] Further simplify instantiations of DoFTools::count_dofs_per_component(). --- source/dofs/dof_tools.inst.in | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index 73b0d4429e..4f8a57dec2 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -43,6 +43,13 @@ for (DoFHandler : DOFHANDLER_TEMPLATES; DoFHandler>( const DoFHandler &dof_handler, const ComponentMask & components); + + template void DoFTools::count_dofs_per_component< + DoFHandler>( + const DoFHandler &, + std::vector &, + const bool, + const std::vector &); #endif } @@ -296,6 +303,7 @@ for (deal_II_dimension : DIMENSIONS) DoFTools::locally_relevant_dofs_per_subdomain< DoFHandler>( const DoFHandler &dof_handler); + template std::vector DoFTools::locally_relevant_dofs_per_subdomain< hp::DoFHandler>( @@ -646,23 +654,6 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const BlockMask &, std::vector &); - - 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( SparsityPattern &, -- 2.39.5