Reference documentation for deal.II version 9.0.0
coupling.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2018 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 at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_non_matching_coupling
17 #define dealii_non_matching_coupling
18 
19 #include <deal.II/base/config.h>
20 #include <deal.II/base/quadrature.h>
21 
22 #include <deal.II/grid/grid_tools_cache.h>
23 
24 #include <deal.II/fe/component_mask.h>
25 #include <deal.II/fe/mapping_q1.h>
26 #include <deal.II/fe/fe.h>
27 
28 #include <deal.II/dofs/dof_handler.h>
29 
30 #include <deal.II/lac/constraint_matrix.h>
31 
32 DEAL_II_NAMESPACE_OPEN
33 
43 namespace NonMatching
44 {
92  template<int dim0, int dim1, int spacedim, typename Sparsity>
94  const DoFHandler<dim1, spacedim> &immersed_dh,
95  const Quadrature<dim1> &quad,
96  Sparsity &sparsity,
97  const ConstraintMatrix &constraints = ConstraintMatrix(),
98  const ComponentMask &space_comps = ComponentMask(),
99  const ComponentMask &immersed_comps = ComponentMask(),
102 
111  template<int dim0, int dim1, int spacedim, typename Sparsity>
113  const DoFHandler<dim0, spacedim> &space_dh,
114  const DoFHandler<dim1, spacedim> &immersed_dh,
115  const Quadrature<dim1> &quad,
116  Sparsity &sparsity,
117  const ConstraintMatrix &constraints = ConstraintMatrix(),
118  const ComponentMask &space_comps = ComponentMask(),
119  const ComponentMask &immersed_comps = ComponentMask(),
121 
122 
168  template<int dim0, int dim1, int spacedim, typename Matrix>
170  const DoFHandler<dim1, spacedim> &immersed_dh,
171  const Quadrature<dim1> &quad,
172  Matrix &matrix,
173  const ConstraintMatrix &constraints = ConstraintMatrix(),
174  const ComponentMask &space_comps = ComponentMask(),
175  const ComponentMask &immersed_comps = ComponentMask(),
178 
187  template<int dim0, int dim1, int spacedim, typename Matrix>
189  const DoFHandler<dim0, spacedim> &space_dh,
190  const DoFHandler<dim1, spacedim> &immersed_dh,
191  const Quadrature<dim1> &quad,
192  Matrix &matrix,
193  const ConstraintMatrix &constraints = ConstraintMatrix(),
194  const ComponentMask &space_comps = ComponentMask(),
195  const ComponentMask &immersed_comps = ComponentMask(),
197 }
198 DEAL_II_NAMESPACE_CLOSE
199 
200 #endif
void create_coupling_mass_matrix(const DoFHandler< dim0, spacedim > &space_dh, const DoFHandler< dim1, spacedim > &immersed_dh, const Quadrature< dim1 > &quad, Matrix &matrix, const ConstraintMatrix &constraints=ConstraintMatrix(), 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:176
void create_coupling_sparsity_pattern(const DoFHandler< dim0, spacedim > &space_dh, const DoFHandler< dim1, spacedim > &immersed_dh, const Quadrature< dim1 > &quad, Sparsity &sparsity, const ConstraintMatrix &constraints=ConstraintMatrix(), 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:48
Abstract base class for mapping classes.
Definition: dof_tools.h:46