Reference documentation for deal.II version 9.4.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
coupling.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2018 - 2022 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_non_matching_coupling
17 #define dealii_non_matching_coupling
18 
19 #include <deal.II/base/config.h>
20 
23 
25 
27 #include <deal.II/fe/fe.h>
28 #include <deal.II/fe/fe_values.h>
29 #include <deal.II/fe/mapping_q1.h>
30 
32 
34 
36 
45 namespace NonMatching
46 {
93  template <int dim0,
94  int dim1,
95  int spacedim,
96  typename Sparsity,
97  typename number = double>
98  void
100  const DoFHandler<dim0, spacedim> &space_dh,
101  const DoFHandler<dim1, spacedim> &immersed_dh,
102  const Quadrature<dim1> & quad,
103  Sparsity & sparsity,
105  const ComponentMask & space_comps = ComponentMask(),
106  const ComponentMask & immersed_comps = ComponentMask(),
107  const Mapping<dim0, spacedim> & space_mapping =
109  const Mapping<dim1, spacedim> &immersed_mapping =
111  const AffineConstraints<number> &immersed_constraints =
113 
120  template <int dim0,
121  int dim1,
122  int spacedim,
123  typename Sparsity,
124  typename number = double>
125  void
128  const DoFHandler<dim0, spacedim> & space_dh,
129  const DoFHandler<dim1, spacedim> & immersed_dh,
130  const Quadrature<dim1> & quad,
131  Sparsity & sparsity,
133  const ComponentMask & space_comps = ComponentMask(),
134  const ComponentMask & immersed_comps = ComponentMask(),
135  const Mapping<dim1, spacedim> & immersed_mapping =
137  const AffineConstraints<number> &immersed_constraints =
139 
140 
185  template <int dim0, int dim1, int spacedim, typename Matrix>
186  void
188  const DoFHandler<dim0, spacedim> & space_dh,
189  const DoFHandler<dim1, spacedim> & immersed_dh,
190  const Quadrature<dim1> & quad,
191  Matrix & matrix,
194  const ComponentMask & space_comps = ComponentMask(),
195  const ComponentMask & immersed_comps = ComponentMask(),
196  const Mapping<dim0, spacedim> &space_mapping =
198  const Mapping<dim1, spacedim> &immersed_mapping =
200  const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
202 
209  template <int dim0, int dim1, int spacedim, typename Matrix>
210  void
212  const GridTools::Cache<dim0, spacedim> & cache,
213  const DoFHandler<dim0, spacedim> & space_dh,
214  const DoFHandler<dim1, spacedim> & immersed_dh,
215  const Quadrature<dim1> & quad,
216  Matrix & matrix,
219  const ComponentMask & space_comps = ComponentMask(),
220  const ComponentMask & immersed_comps = ComponentMask(),
221  const Mapping<dim1, spacedim> &immersed_mapping =
223  const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
225 
272  template <int dim0,
273  int dim1,
274  int spacedim,
275  typename Sparsity,
276  typename Number = double>
277  void
279  const double & epsilon,
280  const GridTools::Cache<dim0, spacedim> &cache0,
281  const GridTools::Cache<dim1, spacedim> &cache1,
282  const DoFHandler<dim0, spacedim> & dh0,
283  const DoFHandler<dim1, spacedim> & dh1,
284  const Quadrature<dim1> & quad,
285  Sparsity & sparsity,
287  const ComponentMask & comps0 = ComponentMask(),
288  const ComponentMask & comps1 = ComponentMask());
289 
336  template <int dim0, int dim1, int spacedim, typename Matrix>
337  void
340  const double & epsilon,
341  const GridTools::Cache<dim0, spacedim> & cache0,
342  const GridTools::Cache<dim1, spacedim> & cache1,
343  const DoFHandler<dim0, spacedim> & dh0,
344  const DoFHandler<dim1, spacedim> & dh1,
345  const Quadrature<dim0> & quadrature0,
346  const Quadrature<dim1> & quadrature1,
347  Matrix & matrix,
350  const ComponentMask &comps0 = ComponentMask(),
351  const ComponentMask &comps1 = ComponentMask());
352 } // namespace NonMatching
354 
355 #endif
Abstract base class for mapping classes.
Definition: mapping.h:311
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
@ matrix
Contents is actually a matrix.
void create_coupling_sparsity_pattern(const DoFHandler< dim0, spacedim > &space_dh, const DoFHandler< dim1, spacedim > &immersed_dh, const Quadrature< dim1 > &quad, Sparsity &sparsity, const AffineConstraints< number > &constraints=AffineConstraints< number >(), const ComponentMask &space_comps=ComponentMask(), const ComponentMask &immersed_comps=ComponentMask(), const Mapping< dim0, spacedim > &space_mapping=StaticMappingQ1< dim0, spacedim >::mapping, const Mapping< dim1, spacedim > &immersed_mapping=StaticMappingQ1< dim1, spacedim >::mapping, const AffineConstraints< number > &immersed_constraints=AffineConstraints< number >())
Definition: coupling.cc:176
void create_coupling_mass_matrix(const DoFHandler< dim0, spacedim > &space_dh, const DoFHandler< dim1, spacedim > &immersed_dh, const Quadrature< dim1 > &quad, Matrix &matrix, const AffineConstraints< typename Matrix::value_type > &constraints=AffineConstraints< typename Matrix::value_type >(), const ComponentMask &space_comps=ComponentMask(), const ComponentMask &immersed_comps=ComponentMask(), const Mapping< dim0, spacedim > &space_mapping=StaticMappingQ1< dim0, spacedim >::mapping, const Mapping< dim1, spacedim > &immersed_mapping=StaticMappingQ1< dim1, spacedim >::mapping, const AffineConstraints< typename Matrix::value_type > &immersed_constraints=AffineConstraints< typename Matrix::value_type >())
Definition: coupling.cc:370
SymmetricTensor< 2, dim, Number > epsilon(const Tensor< 2, dim, Number > &Grad_u)