From: Wolfgang Bangerth Date: Wed, 8 Jan 2020 04:17:31 +0000 (-0700) Subject: Simplify the instantiations of DoFTools::get/count_dofs_on_patch(). X-Git-Tag: v9.2.0-rc1~719^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9257%2Fhead;p=dealii.git Simplify the instantiations of DoFTools::get/count_dofs_on_patch(). --- 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<