* See the tutorial program step-60 for an example on how to use this
* function.
*/
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename number = double>
+ template <int dim0, int dim1, int spacedim, typename number = double>
void
create_coupling_sparsity_pattern(
const DoFHandler<dim0, spacedim> &space_dh,
const DoFHandler<dim1, spacedim> &immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<number> & constraints = AffineConstraints<number>(),
const ComponentMask & space_comps = ComponentMask(),
const ComponentMask & immersed_comps = ComponentMask(),
* space_mapping cannot be specified, since it is taken from the @p cache
* parameter.
*/
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename number = double>
+ template <int dim0, int dim1, int spacedim, typename number = double>
void
create_coupling_sparsity_pattern(
const GridTools::Cache<dim0, spacedim> &cache,
const DoFHandler<dim0, spacedim> & space_dh,
const DoFHandler<dim1, spacedim> & immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<number> &constraints = AffineConstraints<number>(),
const ComponentMask & space_comps = ComponentMask(),
const ComponentMask & immersed_comps = ComponentMask(),
* restrictive conditions are required on the two spaces. See the
* documentation of the other create_coupling_sparsity_pattern() function.
*/
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename Number = double>
+ template <int dim0, int dim1, int spacedim, typename Number = double>
void
create_coupling_sparsity_pattern(
const double & epsilon,
const DoFHandler<dim0, spacedim> & dh0,
const DoFHandler<dim1, spacedim> & dh1,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<Number> &constraints0 = AffineConstraints<Number>(),
const ComponentMask & comps0 = ComponentMask(),
const ComponentMask & comps1 = ComponentMask());
}
} // namespace internal
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename number>
+ template <int dim0, int dim1, int spacedim, typename number>
void
create_coupling_sparsity_pattern(
const DoFHandler<dim0, spacedim> &space_dh,
const DoFHandler<dim1, spacedim> &immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<number> & constraints,
const ComponentMask & space_comps,
const ComponentMask & immersed_comps,
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename number>
+ template <int dim0, int dim1, int spacedim, typename number>
void
create_coupling_sparsity_pattern(
const GridTools::Cache<dim0, spacedim> &cache,
const DoFHandler<dim0, spacedim> & space_dh,
const DoFHandler<dim1, spacedim> & immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<number> & constraints,
const ComponentMask & space_comps,
const ComponentMask & immersed_comps,
}
}
- template <int dim0,
- int dim1,
- int spacedim,
- typename Sparsity,
- typename Number>
+ template <int dim0, int dim1, int spacedim, typename Number>
void
create_coupling_sparsity_pattern(
const double & epsilon,
const DoFHandler<dim0, spacedim> & dh0,
const DoFHandler<dim1, spacedim> & dh1,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<Number> & constraints0,
const ComponentMask & comps0,
const ComponentMask & comps1)
for (dim0 : DIMENSIONS; dim1 : DIMENSIONS; spacedim : SPACE_DIMENSIONS;
- Sparsity : SPARSITY_PATTERNS;
S : REAL_AND_COMPLEX_SCALARS)
{
#if dim1 <= spacedim && dim0 <= spacedim
const DoFHandler<dim0, spacedim> &space_dh,
const DoFHandler<dim1, spacedim> &immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<S> & constraints,
const ComponentMask & space_comps,
const ComponentMask & immersed_comps,
const DoFHandler<dim0, spacedim> & space_dh,
const DoFHandler<dim1, spacedim> & immersed_dh,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<S> & constraints,
const ComponentMask & space_comps,
const ComponentMask & immersed_comps,
const DoFHandler<dim0, spacedim> & dh0,
const DoFHandler<dim1, spacedim> & dh1,
const Quadrature<dim1> & quad,
- Sparsity & sparsity,
+ SparsityPatternBase & sparsity,
const AffineConstraints<S> & constraints0,
const ComponentMask & comps0,
const ComponentMask & comps1);