Reference documentation for deal.II version 9.6.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// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2018 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_non_matching_coupling
16#define dealii_non_matching_coupling
17
18#include <deal.II/base/config.h>
19
22
24
26#include <deal.II/fe/fe.h>
29
31
33
35
44namespace NonMatching
45{
92 template <int dim0, int dim1, int spacedim, typename number = double>
93 void
95 const DoFHandler<dim0, spacedim> &space_dh,
96 const DoFHandler<dim1, spacedim> &immersed_dh,
97 const Quadrature<dim1> &quad,
98 SparsityPatternBase &sparsity,
99 const AffineConstraints<number> &constraints = {},
100 const ComponentMask &space_comps = {},
101 const ComponentMask &immersed_comps = {},
102 const Mapping<dim0, spacedim> &space_mapping =
104 const Mapping<dim1, spacedim> &immersed_mapping =
106 const AffineConstraints<number> &immersed_constraints =
108
115 template <int dim0, int dim1, int spacedim, typename number = double>
116 void
119 const DoFHandler<dim0, spacedim> &space_dh,
120 const DoFHandler<dim1, spacedim> &immersed_dh,
121 const Quadrature<dim1> &quad,
122 SparsityPatternBase &sparsity,
123 const AffineConstraints<number> &constraints = {},
124 const ComponentMask &space_comps = {},
125 const ComponentMask &immersed_comps = {},
126 const Mapping<dim1, spacedim> &immersed_mapping =
128 const AffineConstraints<number> &immersed_constraints =
130
131
176 template <int dim0, int dim1, int spacedim, typename Matrix>
177 void
179 const DoFHandler<dim0, spacedim> &space_dh,
180 const DoFHandler<dim1, spacedim> &immersed_dh,
181 const Quadrature<dim1> &quad,
182 Matrix &matrix,
185 const ComponentMask &space_comps = {},
186 const ComponentMask &immersed_comps = {},
187 const Mapping<dim0, spacedim> &space_mapping =
189 const Mapping<dim1, spacedim> &immersed_mapping =
191 const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
193
200 template <int dim0, int dim1, int spacedim, typename Matrix>
201 void
204 const DoFHandler<dim0, spacedim> &space_dh,
205 const DoFHandler<dim1, spacedim> &immersed_dh,
206 const Quadrature<dim1> &quad,
207 Matrix &matrix,
210 const ComponentMask &space_comps = {},
211 const ComponentMask &immersed_comps = {},
212 const Mapping<dim1, spacedim> &immersed_mapping =
214 const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
216
263 template <int dim0, int dim1, int spacedim, typename Number = double>
264 void
266 const double &epsilon,
271 const Quadrature<dim1> &quad,
272 SparsityPatternBase &sparsity,
274 const ComponentMask &comps0 = {},
275 const ComponentMask &comps1 = {});
276
323 template <int dim0, int dim1, int spacedim, typename Matrix>
324 void
327 const double &epsilon,
332 const Quadrature<dim0> &quadrature0,
333 const Quadrature<dim1> &quadrature1,
334 Matrix &matrix,
337 const ComponentMask &comps0 = {},
338 const ComponentMask &comps1 = {});
339} // namespace NonMatching
341
342#endif
Abstract base class for mapping classes.
Definition mapping.h:318
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
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={}, const ComponentMask &space_comps={}, const ComponentMask &immersed_comps={}, 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:172
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={}, const ComponentMask &immersed_comps={}, 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:362