From 0f22d934a7555c94bd9714f1f7164ddb4b384cef Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 7 Jan 2020 21:17:31 -0700 Subject: [PATCH] Simplify the instantiations of DoFTools::get/count_dofs_on_patch(). --- source/dofs/dof_tools.inst.in | 44 +++++++++++------------------------ 1 file changed, 14 insertions(+), 30 deletions(-) diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index b33610e531..7080715427 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -70,7 +70,20 @@ for (DoFHandler : DOFHANDLER_TEMPLATES; const DoFHandler &, std::vector &, const std::vector &); - + + template unsigned int + count_dofs_on_patch< + DoFHandler>( + const std::vector< + DoFHandler::active_cell_iterator> &patch); + + template std::vector + get_dofs_on_patch>( + const std::vector< + DoFHandler::active_cell_iterator> &patch); + // extract_dofs(): Deprecated versions that return information through // the last argument template void @@ -564,35 +577,6 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const ComponentMask &); - template unsigned int - count_dofs_on_patch< - DoFHandler>( - const std::vector< - DoFHandler::active_cell_iterator> &patch); - - template std::vector - get_dofs_on_patch>( - const std::vector< - DoFHandler::active_cell_iterator> &patch); - - template unsigned int - count_dofs_on_patch< - hp::DoFHandler>( - const std::vector< - hp::DoFHandler::active_cell_iterator> - &patch); - - template std::vector - get_dofs_on_patch< - hp::DoFHandler>( - const std::vector< - hp::DoFHandler::active_cell_iterator> - &patch); - // extract_level_dofs() for ComponentMask and BlockMask template void extract_level_dofs< -- 2.39.5