deal.II version GIT relicensing-6917-gb466a1809f 2026-10-16 06:30:01+00:00
\(\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
vector_tools_rhs.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2020 - 2025 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_vector_tools_rhs_h
14#define dealii_vector_tools_rhs_h
15
16#include <deal.II/base/config.h>
17
19#include <deal.II/base/types.h>
20
21#include <set>
22
24
25template <typename number>
27
28template <int dim, int spacedim>
30class DoFHandler;
31
32template <int dim, typename Number>
33class Function;
34template <int dim, int spacedim>
35class Mapping;
36template <int dim>
37class Quadrature;
38namespace hp
39{
40 template <int dim, int spacedim>
41 class MappingCollection;
42 template <int dim>
43 class QCollection;
44} // namespace hp
45
46
47namespace VectorTools
48{
62 template <int dim, int spacedim, typename VectorType>
65 const Mapping<dim, spacedim> &mapping,
66 const DoFHandler<dim, spacedim> &dof,
67 const Quadrature<dim> &q,
68 const Function<spacedim, typename VectorType::value_type> &rhs,
69 VectorType &rhs_vector,
70 const AffineConstraints<typename VectorType::value_type> &constraints =
71 AffineConstraints<typename VectorType::value_type>());
72
79 template <int dim, int spacedim, typename VectorType>
80 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
82 const DoFHandler<dim, spacedim> &dof,
83 const Quadrature<dim> &q,
84 const Function<spacedim, typename VectorType::value_type> &rhs,
85 VectorType &rhs_vector,
86 const AffineConstraints<typename VectorType::value_type> &constraints =
87 AffineConstraints<typename VectorType::value_type>());
88
94 template <int dim, int spacedim, typename VectorType>
95 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
97 const hp::MappingCollection<dim, spacedim> &mapping,
98 const DoFHandler<dim, spacedim> &dof,
99 const hp::QCollection<dim> &q,
100 const Function<spacedim, typename VectorType::value_type> &rhs,
101 VectorType &rhs_vector,
102 const AffineConstraints<typename VectorType::value_type> &constraints =
103 AffineConstraints<typename VectorType::value_type>());
104
110 template <int dim, int spacedim, typename VectorType>
111 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
113 const DoFHandler<dim, spacedim> &dof,
114 const hp::QCollection<dim> &q,
115 const Function<spacedim, typename VectorType::value_type> &rhs,
116 VectorType &rhs_vector,
117 const AffineConstraints<typename VectorType::value_type> &constraints =
118 AffineConstraints<typename VectorType::value_type>());
119
131 template <int dim, int spacedim, typename VectorType>
132 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
134 const Mapping<dim, spacedim> &mapping,
135 const DoFHandler<dim, spacedim> &dof,
136 const Quadrature<dim - 1> &q,
137 const Function<spacedim, typename VectorType::value_type> &rhs,
138 VectorType &rhs_vector,
139 const std::set<types::boundary_id> &boundary_ids =
140 std::set<types::boundary_id>());
141
151 template <int dim, int spacedim, typename VectorType>
152 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
154 const DoFHandler<dim, spacedim> &dof,
155 const Quadrature<dim - 1> &q,
156 const Function<spacedim, typename VectorType::value_type> &rhs,
157 VectorType &rhs_vector,
158 const std::set<types::boundary_id> &boundary_ids =
159 std::set<types::boundary_id>());
160
169 template <int dim, int spacedim, typename VectorType>
170 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
172 const hp::MappingCollection<dim, spacedim> &mapping,
173 const DoFHandler<dim, spacedim> &dof,
174 const hp::QCollection<dim - 1> &q,
175 const Function<spacedim, typename VectorType::value_type> &rhs,
176 VectorType &rhs_vector,
177 const std::set<types::boundary_id> &boundary_ids =
178 std::set<types::boundary_id>());
179
190 template <int dim, int spacedim, typename VectorType>
191 DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
193 const DoFHandler<dim, spacedim> &dof,
194 const hp::QCollection<dim - 1> &q,
195 const Function<spacedim, typename VectorType::value_type> &rhs,
196 VectorType &rhs_vector,
197 const std::set<types::boundary_id> &boundary_ids =
198 std::set<types::boundary_id>());
200} // namespace VectorTools
201
203
204#endif // dealii_vector_tools_rhs_h
*  x_component_mask set(0, true)
Abstract base class for mapping classes.
Definition mapping.h:318
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_CXX20_REQUIRES(condition)
Definition config.h:249
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
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:115
STL namespace.
Definition types.h:30