Reference documentation for deal.II version Git 180c135554 2021-06-23 17:42:41 -0400
\(\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\}}\)
vector_tools_rhs.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 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_vector_tools_rhs_h
17 #define dealii_vector_tools_rhs_h
18 
19 #include <deal.II/base/config.h>
20 
21 #include <set>
22 
24 
25 template <typename number>
26 class AffineConstraints;
27 template <int dim, int spacedim>
28 class DoFHandler;
29 template <int dim, typename Number>
30 class Function;
31 template <int dim, int spacedim>
32 class Mapping;
33 template <int dim>
34 class Quadrature;
35 namespace hp
36 {
37  template <int dim, int spacedim>
38  class MappingCollection;
39  template <int dim>
40  class QCollection;
41 } // namespace hp
42 
43 
44 namespace VectorTools
45 {
50 
57  template <int dim, int spacedim, typename VectorType>
58  void
60  const Mapping<dim, spacedim> & mapping,
61  const DoFHandler<dim, spacedim> & dof,
62  const Quadrature<dim> & q,
64  VectorType & rhs_vector,
67 
72  template <int dim, int spacedim, typename VectorType>
73  void
75  const DoFHandler<dim, spacedim> & dof,
76  const Quadrature<dim> & q,
78  VectorType & rhs_vector,
81 
85  template <int dim, int spacedim, typename VectorType>
86  void
89  const DoFHandler<dim, spacedim> & dof,
90  const hp::QCollection<dim> & q,
92  VectorType & rhs_vector,
95 
99  template <int dim, int spacedim, typename VectorType>
100  void
102  const DoFHandler<dim, spacedim> & dof,
103  const hp::QCollection<dim> & q,
105  VectorType & rhs_vector,
108 
118  template <int dim, int spacedim, typename VectorType>
119  void
121  const Mapping<dim, spacedim> & mapping,
122  const DoFHandler<dim, spacedim> & dof,
123  const Quadrature<dim - 1> & q,
125  VectorType & rhs_vector,
126  const std::set<types::boundary_id> & boundary_ids =
127  std::set<types::boundary_id>());
128 
136  template <int dim, int spacedim, typename VectorType>
137  void
139  const DoFHandler<dim, spacedim> & dof,
140  const Quadrature<dim - 1> & q,
142  VectorType & rhs_vector,
143  const std::set<types::boundary_id> & boundary_ids =
144  std::set<types::boundary_id>());
145 
152  template <int dim, int spacedim, typename VectorType>
153  void
155  const hp::MappingCollection<dim, spacedim> & mapping,
156  const DoFHandler<dim, spacedim> & dof,
157  const hp::QCollection<dim - 1> & q,
159  VectorType & rhs_vector,
160  const std::set<types::boundary_id> & boundary_ids =
161  std::set<types::boundary_id>());
162 
171  template <int dim, int spacedim, typename VectorType>
172  void
174  const DoFHandler<dim, spacedim> & dof,
175  const hp::QCollection<dim - 1> & q,
177  VectorType & rhs_vector,
178  const std::set<types::boundary_id> & boundary_ids =
179  std::set<types::boundary_id>());
180  // @}
181 } // namespace VectorTools
182 
184 
185 #endif // dealii_vector_tools_rhs_h
void create_boundary_right_hand_side(const DoFHandler< dim, spacedim > &dof, const hp::QCollection< dim - 1 > &q, const Function< spacedim, typename VectorType::value_type > &rhs, VectorType &rhs_vector, const std::set< types::boundary_id > &boundary_ids=std::set< types::boundary_id >())
Abstract base class for mapping classes.
Definition: mapping.h:303
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:399
Definition: hp.h:117
void create_right_hand_side(const DoFHandler< dim, spacedim > &dof, const hp::QCollection< dim > &q, const Function< spacedim, typename VectorType::value_type > &rhs, VectorType &rhs_vector, const AffineConstraints< typename VectorType::value_type > &constraints=AffineConstraints< typename VectorType::value_type >())
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:398