From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Wed, 31 Mar 2021 14:51:09 +0000 (-0600)
Subject: Add a default argument.
X-Git-Tag: v9.3.0-rc1~243^2~4
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac3d8439bbcf047bc6c3b3ca3214f94d61dfdbf;p=dealii.git

Add a default argument.
---

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 <int dim, int spacedim>
   IndexSet
-  extract_boundary_dofs(const DoFHandler<dim, spacedim> &   dof_handler,
-                        const ComponentMask &               component_mask,
+  extract_boundary_dofs(const DoFHandler<dim, spacedim> &dof_handler,
+                        const ComponentMask &component_mask = ComponentMask(),
                         const std::set<types::boundary_id> &boundary_ids = {});
 
   /**