Reference documentation for deal.II version 9.5.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\}}\)
Loading...
Searching...
No Matches
coupling.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2018 - 2023 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>
30
32
34
36
45namespace NonMatching
46{
93 template <int dim0, int dim1, int spacedim, typename number = double>
94 void
96 const DoFHandler<dim0, spacedim> &space_dh,
97 const DoFHandler<dim1, spacedim> &immersed_dh,
98 const Quadrature<dim1> & quad,
99 SparsityPatternBase & sparsity,
101 const ComponentMask & space_comps = ComponentMask(),
102 const ComponentMask & immersed_comps = ComponentMask(),
103 const Mapping<dim0, spacedim> & space_mapping =
105 const Mapping<dim1, spacedim> &immersed_mapping =
107 const AffineConstraints<number> &immersed_constraints =
109
116 template <int dim0, int dim1, int spacedim, typename number = double>
117 void
120 const DoFHandler<dim0, spacedim> & space_dh,
121 const DoFHandler<dim1, spacedim> & immersed_dh,
122 const Quadrature<dim1> & quad,
123 SparsityPatternBase & sparsity,
125 const ComponentMask & space_comps = ComponentMask(),
126 const ComponentMask & immersed_comps = ComponentMask(),
127 const Mapping<dim1, spacedim> & immersed_mapping =
129 const AffineConstraints<number> &immersed_constraints =
131
132
177 template <int dim0, int dim1, int spacedim, typename Matrix>
178 void
180 const DoFHandler<dim0, spacedim> & space_dh,
181 const DoFHandler<dim1, spacedim> & immersed_dh,
182 const Quadrature<dim1> & quad,
183 Matrix & matrix,
186 const ComponentMask & space_comps = ComponentMask(),
187 const ComponentMask & immersed_comps = ComponentMask(),
188 const Mapping<dim0, spacedim> &space_mapping =
190 const Mapping<dim1, spacedim> &immersed_mapping =
192 const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
194
201 template <int dim0, int dim1, int spacedim, typename Matrix>
202 void
205 const DoFHandler<dim0, spacedim> & space_dh,
206 const DoFHandler<dim1, spacedim> & immersed_dh,
207 const Quadrature<dim1> & quad,
208 Matrix & matrix,
211 const ComponentMask & space_comps = ComponentMask(),
212 const ComponentMask & immersed_comps = ComponentMask(),
213 const Mapping<dim1, spacedim> &immersed_mapping =
215 const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
217
264 template <int dim0, int dim1, int spacedim, typename Number = double>
265 void
267 const double & epsilon,
270 const DoFHandler<dim0, spacedim> & dh0,
271 const DoFHandler<dim1, spacedim> & dh1,
272 const Quadrature<dim1> & quad,
273 SparsityPatternBase & sparsity,
275 const ComponentMask & comps0 = ComponentMask(),
276 const ComponentMask & comps1 = ComponentMask());
277
324 template <int dim0, int dim1, int spacedim, typename Matrix>
325 void
328 const double & epsilon,
331 const DoFHandler<dim0, spacedim> & dh0,
332 const DoFHandler<dim1, spacedim> & dh1,
333 const Quadrature<dim0> & quadrature0,
334 const Quadrature<dim1> & quadrature1,
335 Matrix & matrix,
338 const ComponentMask &comps0 = ComponentMask(),
339 const ComponentMask &comps1 = ComponentMask());
340} // namespace NonMatching
342
343#endif
Abstract base class for mapping classes.
Definition mapping.h:317
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473
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:363
void create_coupling_sparsity_pattern(const DoFHandler< dim0, spacedim > &space_dh, const DoFHandler< dim1, spacedim > &immersed_dh, const Quadrature< dim1 > &quad, SparsityPatternBase &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:173