make_sparsity_pattern(
const DoFHandler<dim, spacedim> &dof_handler,
SparsityPatternBase & sparsity_pattern,
- const AffineConstraints<number> &constraints = AffineConstraints<number>(),
+ const AffineConstraints<number> &constraints = {},
const bool keep_constrained_dofs = true,
const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
const DoFHandler<dim, spacedim> &dof_handler,
const Table<2, Coupling> & coupling,
SparsityPatternBase & sparsity_pattern,
- const AffineConstraints<number> &constraints = AffineConstraints<number>(),
+ const AffineConstraints<number> &constraints = {},
const bool keep_constrained_dofs = true,
const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
const std::function<
bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &)>
& predicate,
- const AffineConstraints<number> &constraints = AffineConstraints<number>());
+ const AffineConstraints<number> &constraints = {});
/**
* Extract a vector that represents the constant modes of the DoFHandler for
* for the locally relevant DoFs, see
* @ref GlossLocallyRelevantDof .)
* Consequently, this constructor creates internal data structures for
- * <i>all</i> possible
- * indices will be created, leading to memory consumption on every
+ * <i>all</i> possible indices, leading to memory consumption on every
* processor that is proportional to the <i>overall</i> size of the
* problem, not just proportional to the size of the portion of the
* overall problem that is handled by the current processor. Calling
*/
template <int dim, int spacedim, typename number = double>
void
- make_sparsity_pattern(
- const DoFHandler<dim, spacedim> &dof_handler,
- SparsityPatternBase & sparsity,
- const unsigned int level,
- const AffineConstraints<number> &constraints = AffineConstraints<number>(),
- const bool keep_constrained_dofs = true);
+ make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
+ SparsityPatternBase & sparsity,
+ const unsigned int level,
+ const AffineConstraints<number> &constraints = {},
+ const bool keep_constrained_dofs = true);
/**
* Make a sparsity pattern including fluxes of discontinuous Galerkin
*/
template <int dim, int spacedim, typename number = double>
void
- make_flux_sparsity_pattern(
- const DoFHandler<dim, spacedim> &dof_handler,
- SparsityPatternBase & sparsity,
- const unsigned int level,
- const AffineConstraints<number> &constraints = AffineConstraints<number>(),
- const bool keep_constrained_dofs = true);
+ make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
+ SparsityPatternBase & sparsity,
+ const unsigned int level,
+ const AffineConstraints<number> &constraints = {},
+ const bool keep_constrained_dofs = true);
/**
const DoFHandler<dim1, spacedim> &immersed_dh,
const Quadrature<dim1> & quad,
SparsityPatternBase & sparsity,
- const AffineConstraints<number> & constraints = AffineConstraints<number>(),
- const ComponentMask & space_comps = {},
+ const AffineConstraints<number> & constraints = {},
+ const ComponentMask & space_comps = {},
const ComponentMask & immersed_comps = {},
const Mapping<dim0, spacedim> & space_mapping =
StaticMappingQ1<dim0, spacedim>::mapping,
const DoFHandler<dim1, spacedim> & immersed_dh,
const Quadrature<dim1> & quad,
SparsityPatternBase & sparsity,
- const AffineConstraints<number> &constraints = AffineConstraints<number>(),
- const ComponentMask & space_comps = {},
- const ComponentMask & immersed_comps = {},
- const Mapping<dim1, spacedim> & immersed_mapping =
+ const AffineConstraints<number> & constraints = {},
+ const ComponentMask & space_comps = {},
+ const ComponentMask & immersed_comps = {},
+ const Mapping<dim1, spacedim> & immersed_mapping =
StaticMappingQ1<dim1, spacedim>::mapping,
const AffineConstraints<number> &immersed_constraints =
AffineConstraints<number>());