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\}}\)
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 DoFHandler;
39  template <int dim, int spacedim>
40  class MappingCollection;
41  template <int dim>
42  class QCollection;
43 } // namespace hp
44 
45 
46 namespace 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
92  const hp::QCollection<dim> & q,
94  VectorType & rhs_vector,
97 
101  template <int dim, int spacedim, typename VectorType>
102  void
104  const hp::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
157  const hp::MappingCollection<dim, spacedim> & mapping,
158  const hp::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 hp::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
VectorType
hp::QCollection
Definition: q_collection.h:48
hp::DoFHandler
Definition: dof_handler.h:203
DoFHandler
Definition: dof_handler.h:205
VectorTools
Definition: vector_tools.h:303
Mapping
Abstract base class for mapping classes.
Definition: mapping.h:302
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
hp::MappingCollection
Definition: mapping_collection.h:56
AffineConstraints
Definition: affine_constraints.h:180
hp
Definition: hp.h:117
VectorTools::create_boundary_right_hand_side
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 >())
config.h
Function
Definition: function.h:151
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Quadrature
Definition: quadrature.h:85
VectorTools::create_right_hand_side
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 >())