Reference documentation for deal.II version 9.2.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 - 2020 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 {
95  template <int dim0,
96  int dim1,
97  int spacedim,
98  typename Sparsity,
99  typename number = double>
100  void
102  const DoFHandler<dim0, spacedim> &space_dh,
103  const DoFHandler<dim1, spacedim> &immersed_dh,
104  const Quadrature<dim1> & quad,
105  Sparsity & sparsity,
107  const ComponentMask & space_comps = ComponentMask(),
108  const ComponentMask & immersed_comps = ComponentMask(),
109  const Mapping<dim0, spacedim> & space_mapping =
111  const Mapping<dim1, spacedim> &immersed_mapping =
113 
122  template <int dim0,
123  int dim1,
124  int spacedim,
125  typename Sparsity,
126  typename number = double>
127  void
130  const DoFHandler<dim0, spacedim> & space_dh,
131  const DoFHandler<dim1, spacedim> & immersed_dh,
132  const Quadrature<dim1> & quad,
133  Sparsity & sparsity,
135  const ComponentMask & space_comps = ComponentMask(),
136  const ComponentMask & immersed_comps = ComponentMask(),
137  const Mapping<dim1, spacedim> & immersed_mapping =
139 
140 
187  template <int dim0, int dim1, int spacedim, typename Matrix>
188  void
190  const DoFHandler<dim0, spacedim> & space_dh,
191  const DoFHandler<dim1, spacedim> & immersed_dh,
192  const Quadrature<dim1> & quad,
193  Matrix & matrix,
196  const ComponentMask & space_comps = ComponentMask(),
197  const ComponentMask & immersed_comps = ComponentMask(),
198  const Mapping<dim0, spacedim> &space_mapping =
200  const Mapping<dim1, spacedim> &immersed_mapping =
202 
211  template <int dim0, int dim1, int spacedim, typename Matrix>
212  void
214  const GridTools::Cache<dim0, spacedim> & cache,
215  const DoFHandler<dim0, spacedim> & space_dh,
216  const DoFHandler<dim1, spacedim> & immersed_dh,
217  const Quadrature<dim1> & quad,
218  Matrix & matrix,
221  const ComponentMask & space_comps = ComponentMask(),
222  const ComponentMask & immersed_comps = ComponentMask(),
223  const Mapping<dim1, spacedim> &immersed_mapping =
225 
274  template <int dim0,
275  int dim1,
276  int spacedim,
277  typename Sparsity,
278  typename Number = double>
279  void
281  const double & epsilon,
282  const GridTools::Cache<dim0, spacedim> &cache0,
283  const GridTools::Cache<dim1, spacedim> &cache1,
284  const DoFHandler<dim0, spacedim> & dh0,
285  const DoFHandler<dim1, spacedim> & dh1,
286  const Quadrature<dim1> & quad,
287  Sparsity & sparsity,
289  const ComponentMask & comps0 = ComponentMask(),
290  const ComponentMask & comps1 = ComponentMask());
291 
340  template <int dim0, int dim1, int spacedim, typename Matrix>
341  void
344  const double & epsilon,
345  const GridTools::Cache<dim0, spacedim> & cache0,
346  const GridTools::Cache<dim1, spacedim> & cache1,
347  const DoFHandler<dim0, spacedim> & dh0,
348  const DoFHandler<dim1, spacedim> & dh1,
349  const Quadrature<dim0> & quadrature0,
350  const Quadrature<dim1> & quadrature1,
351  Matrix & matrix,
354  const ComponentMask &comps0 = ComponentMask(),
355  const ComponentMask &comps1 = ComponentMask());
356 } // namespace NonMatching
358 
359 #endif
Physics::Elasticity::Kinematics::epsilon
SymmetricTensor< 2, dim, Number > epsilon(const Tensor< 2, dim, Number > &Grad_u)
fe_values.h
StaticMappingQ1
Definition: mapping_q1.h:88
mapping_q1.h
Functions::CutOffFunctionBase
Definition: function_lib.h:924
ComponentMask
Definition: component_mask.h:83
DoFHandler
Definition: dof_handler.h:205
function_lib.h
Mapping
Abstract base class for mapping classes.
Definition: mapping.h:302
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
LAPACKSupport::matrix
@ matrix
Contents is actually a matrix.
Definition: lapack_support.h:60
fe.h
component_mask.h
GridTools::Cache
Definition: grid_tools.h:128
NonMatching
Definition: coupling.h:45
AffineConstraints
Definition: affine_constraints.h:180
dof_handler.h
affine_constraints.h
grid_tools_cache.h
quadrature.h
config.h
NonMatching::create_coupling_mass_matrix
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)
Definition: coupling.cc:363
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Quadrature
Definition: quadrature.h:85
NonMatching::create_coupling_sparsity_pattern
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)
Definition: coupling.cc:175