From eac3d8439bbcf047bc6c3b3ca3214f94d61dfdbf Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 31 Mar 2021 08:51:09 -0600 Subject: [PATCH] Add a default argument. --- include/deal.II/dofs/dof_tools.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/deal.II/dofs/dof_tools.h b/include/deal.II/dofs/dof_tools.h index 7b1a460e24..2fd8331919 100644 --- a/include/deal.II/dofs/dof_tools.h +++ b/include/deal.II/dofs/dof_tools.h @@ -1485,9 +1485,11 @@ namespace DoFTools * live on which cell. * @param[in] component_mask A mask denoting the vector components of the * finite element that should be considered (see also - * @ref GlossComponentMask). + * @ref GlossComponentMask). If left at the default, the component mask + * indicates that all vector components of the finite element should be + * considered. * @param[in] boundary_ids If empty, this function extracts the indices of the - * degrees of freedom for all parts of the boundary. If it is a non- empty + * degrees of freedom for all parts of the boundary. If it is a non-empty * list, then the function only considers boundary faces with the boundary * indicators listed in this argument. * @return The IndexSet object that @@ -1501,8 +1503,8 @@ namespace DoFTools */ template IndexSet - extract_boundary_dofs(const DoFHandler & dof_handler, - const ComponentMask & component_mask, + extract_boundary_dofs(const DoFHandler &dof_handler, + const ComponentMask &component_mask = ComponentMask(), const std::set &boundary_ids = {}); /** -- 2.39.5