Reference documentation for deal.II version 9.3.3
\(\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
25template <typename number>
27template <int dim, int spacedim>
28class DoFHandler;
29template <int dim, typename Number>
30class Function;
31template <int dim, int spacedim>
32class Mapping;
33template <int dim>
34class Quadrature;
35namespace hp
36{
37 template <int dim, int spacedim>
38 class DoFHandler;
39 template <int dim, int spacedim>
40 class MappingCollection;
41 template <int dim>
42 class QCollection;
43} // namespace hp
44
45
46namespace VectorTools
47{
52
59 template <int dim, int spacedim, typename VectorType>
60 void
62 const Mapping<dim, spacedim> & mapping,
63 const DoFHandler<dim, spacedim> & dof,
64 const Quadrature<dim> & q,
66 VectorType & rhs_vector,
69
74 template <int dim, int spacedim, typename VectorType>
75 void
77 const DoFHandler<dim, spacedim> & dof,
78 const Quadrature<dim> & q,
80 VectorType & rhs_vector,
83
87 template <int dim, int spacedim, typename VectorType>
88 void
91 const DoFHandler<dim, spacedim> & dof,
92 const hp::QCollection<dim> & q,
94 VectorType & rhs_vector,
97
101 template <int dim, int spacedim, typename VectorType>
102 void
104 const DoFHandler<dim, spacedim> & dof,
105 const hp::QCollection<dim> & q,
107 VectorType & rhs_vector,
110
120 template <int dim, int spacedim, typename VectorType>
121 void
123 const Mapping<dim, spacedim> & mapping,
124 const DoFHandler<dim, spacedim> & dof,
125 const Quadrature<dim - 1> & q,
127 VectorType & rhs_vector,
128 const std::set<types::boundary_id> & boundary_ids =
129 std::set<types::boundary_id>());
130
138 template <int dim, int spacedim, typename VectorType>
139 void
141 const DoFHandler<dim, spacedim> & dof,
142 const Quadrature<dim - 1> & q,
144 VectorType & rhs_vector,
145 const std::set<types::boundary_id> & boundary_ids =
146 std::set<types::boundary_id>());
147
154 template <int dim, int spacedim, typename VectorType>
155 void
158 const DoFHandler<dim, spacedim> & dof,
159 const hp::QCollection<dim - 1> & q,
161 VectorType & rhs_vector,
162 const std::set<types::boundary_id> & boundary_ids =
163 std::set<types::boundary_id>());
164
173 template <int dim, int spacedim, typename VectorType>
174 void
176 const DoFHandler<dim, spacedim> & dof,
177 const hp::QCollection<dim - 1> & q,
179 VectorType & rhs_vector,
180 const std::set<types::boundary_id> & boundary_ids =
181 std::set<types::boundary_id>());
182 // @}
183} // namespace VectorTools
184
186
187#endif // dealii_vector_tools_rhs_h
Abstract base class for mapping classes.
Definition: mapping.h:304
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403
void create_right_hand_side(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const Quadrature< 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 >())
void create_boundary_right_hand_side(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const Quadrature< 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 >())
Definition: hp.h:118