]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a default argument.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 31 Mar 2021 14:51:09 +0000 (08:51 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 5 Apr 2021 16:20:22 +0000 (10:20 -0600)
include/deal.II/dofs/dof_tools.h

index 7b1a460e243524932ad056f57d369ea540a04634..2fd833191923b5293d79697a40427d2f883a8133 100644 (file)
@@ -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 = {});
 
   /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.